question: change whether the block placement policy will prefer the writer 's local datanode or not . concode_field_sep PlaceHolder placeHolder concode_field_sep void updateState concode_elem_sep DatanodeDescriptor getDatanode concode_elem_sep int getNumberOfRacks concode_elem_sep int computeInvalidationWork concode_elem_sep CorruptReplicasMap getCorruptReplicas concode_elem_sep void noticeDeadDatanode concode_elem_sep void checkHeartbeat concode_elem_sep int computeAllPendingWork concode_elem_sep int getComputedDatanodeWork concode_elem_sep void setNodeReplicationLimit concode_elem_sep Daemon getReplicationThread concode_elem_sep int[] getReplicaInfo concode_elem_sep void stopReplicationThread
target: void function ( BlockManager arg0 , boolean arg1 ) { BlockPlacementPolicy loc0 = arg0 . getBlockPlacementPolicy ( ) ; Preconditions . checkState ( loc0 instanceof BlockPlacementPolicyDefault , "srini_string" , loc0 . getClass ( ) ) ; ( ( BlockPlacementPolicyDefault ) loc0 ) . setPreferLocalNode ( arg1 ) ; }