how to set hadoop dfs.replication in java client by class org.apache.hadoop.conf.Configuration or in another way? -
how set hadoop dfs.replication in java client class org.apache.hadoop.conf.configuration or in way?
i utilize java api client upload files ,but set dfs.replication 3,as result when utilize command (hadoop dfsadmin -report) check situation,all blocks under replication factor,because have 2 datanodes test.
i want know how set hadoop dfs.replication in java client class org.apache.hadoop.conf.configuration or in way? give thanks help!
i beleive replication going set not client connection config instead cluster configuration (???). not sure if there way configure file-specific replication think asking about
btw, percentage of blocks under-replicated? can provide output of dfs admin -report command? helpful
hadoop
No comments:
Post a Comment