[jira] [Created] (HDFS-11812) fix spelling mistake in TestFsVolumeList.java

2017-05-11 Thread chencan (JIRA)
chencan created HDFS-11812:
--

 Summary: fix spelling mistake in TestFsVolumeList.java 
 Key: HDFS-11812
 URL: https://issues.apache.org/jira/browse/HDFS-11812
 Project: Hadoop HDFS
  Issue Type: Improvement
Reporter: chencan


We found a  spelling mistake in  TestFsVolumeList.java: // Mock 
reservedForReplcas should be // Mock reservedForReplicas。



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org



[jira] [Created] (HDFS-12011) Add a new load balancing volume choosing policy

2017-06-22 Thread chencan (JIRA)
chencan created HDFS-12011:
--

 Summary: Add a  new load balancing volume choosing policy
 Key: HDFS-12011
 URL: https://issues.apache.org/jira/browse/HDFS-12011
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: datanode
Reporter: chencan


There  are two types of volume choosing policies when choose a volume inner 
a datanode to write in a datablock : RoundRobinVolumeChoosingPolicy and 
AvailableSpaceVolumeChoosingPolicy.This two policies do not take into account 
the fsvolume's load. We can add a new load balancing volume choosing policy,  
using existing reference in FsVolumeImpl.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org



[jira] [Created] (HDFS-12012) Fix spelling mistakes in BPServiceActor.java.

2017-06-22 Thread chencan (JIRA)
chencan created HDFS-12012:
--

 Summary: Fix spelling mistakes in BPServiceActor.java.
 Key: HDFS-12012
 URL: https://issues.apache.org/jira/browse/HDFS-12012
 Project: Hadoop HDFS
  Issue Type: Bug
  Components: datanode
Reporter: chencan


In functions blockReport,cacheReport,offerService there are multiple msec need 
to be modified to msecs.

Such as the following logs:
2017-06-22 11:38:25,399 INFO org.apache.hadoop.hdfs.server.datanode.DataNode: 
Unsuccessfully sent block report 0x8c26a112d6d4,  containing 3 storage 
report(s), of which we sent 0. The reports had 19906571 total blocks and used 0 
RPC(s). This took 3071 msec to generate and 781 msecs for RPC and NN 
processing. Got back no commands



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org



[jira] [Created] (HDFS-11993) Add log info when connect to datanode socket address failed

2017-06-19 Thread chencan (JIRA)
chencan created HDFS-11993:
--

 Summary: Add log info when connect to datanode socket address 
failed
 Key: HDFS-11993
 URL: https://issues.apache.org/jira/browse/HDFS-11993
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: hdfs-client
Reporter: chencan


In function BlockSeekTo, when connect faild to datanode socket address,log as 
follow:

DFSClient.LOG.warn("Failed to connect to " + targetAddr + " for block"
  + ", add to deadNodes and continue. " + ex, ex);

add block info may be more explicit.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org



[jira] [Created] (HDFS-12896) when set replicate EC policy for a directory or file,it's EC policy cannot be querying by getPolicy command.

2017-12-05 Thread chencan (JIRA)
chencan created HDFS-12896:
--

 Summary: when set replicate EC policy for a directory or file,it's 
EC policy cannot be querying by getPolicy command.
 Key: HDFS-12896
 URL: https://issues.apache.org/jira/browse/HDFS-12896
 Project: Hadoop HDFS
  Issue Type: Bug
Reporter: chencan


When i set replicate EC policy for ecDir,then query it by getPolicy,it return 
‘The erasure coding policy of /ecDir is unspecified', as follow.

[root@master bin]# hdfs dfs -mkdir /ecDir
[root@master bin]# hdfs ec -setPolicy -path /ecDir -replicate
Set erasure coding policy replication on /ecDir
[root@master bin]# hdfs ec -getPolicy -path /ecDir
The erasure coding policy of /ecDir is unspecified



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org



[jira] [Created] (HDFS-12917) Fix description errors in testErasureCodingConf.xml

2017-12-11 Thread chencan (JIRA)
chencan created HDFS-12917:
--

 Summary: Fix description errors in testErasureCodingConf.xml
 Key: HDFS-12917
 URL: https://issues.apache.org/jira/browse/HDFS-12917
 Project: Hadoop HDFS
  Issue Type: Bug
Reporter: chencan


In testErasureCodingConf.xml,there are two case's description may be "getPolicy 
: get EC policy information at specified path, whick have an EC Policy".



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org



[jira] [Resolved] (HDFS-12896) when set replicate EC policy for a directory or file,it's EC policy cannot be querying by getPolicy command.

2018-01-09 Thread chencan (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-12896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

chencan resolved HDFS-12896.

Resolution: Duplicate

> when set replicate EC policy for a directory or file,it's EC policy cannot be 
> querying by getPolicy command.
> 
>
> Key: HDFS-12896
> URL: https://issues.apache.org/jira/browse/HDFS-12896
> Project: Hadoop HDFS
>  Issue Type: Bug
>Reporter: chencan
>
> When i set replicate EC policy for ecDir,then query it by getPolicy,it return 
> ‘The erasure coding policy of /ecDir is unspecified', as follow.
> [root@master bin]# hdfs dfs -mkdir /ecDir
> [root@master bin]# hdfs ec -setPolicy -path /ecDir -replicate
> Set erasure coding policy replication on /ecDir
> [root@master bin]# hdfs ec -getPolicy -path /ecDir
> The erasure coding policy of /ecDir is unspecified



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org



[jira] [Created] (HDFS-13131) Modifying testcase testEnableAndDisableErasureCodingPolicy

2018-02-10 Thread chencan (JIRA)
chencan created HDFS-13131:
--

 Summary: Modifying testcase testEnableAndDisableErasureCodingPolicy
 Key: HDFS-13131
 URL: https://issues.apache.org/jira/browse/HDFS-13131
 Project: Hadoop HDFS
  Issue Type: Bug
Reporter: chencan


In testcase testEnableAndDisableErasureCodingPolicy in 
TestDistributedFileSystem.java, when enable or disable an ErasureCodingPolicy, 
we should query from enabledPoliciesByName other than policiesByName to Check 
whether this policy has been set up successfully.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org



[jira] [Created] (HDDS-309) closePipelineIfNoOpenContainers should remove pipeline from activePipelines list.

2018-08-01 Thread chencan (JIRA)
chencan created HDDS-309:


 Summary: closePipelineIfNoOpenContainers should remove pipeline 
from activePipelines list.
 Key: HDDS-309
 URL: https://issues.apache.org/jira/browse/HDDS-309
 Project: Hadoop Distributed Data Store
  Issue Type: Bug
  Components: SCM
Reporter: chencan


    Function closePipeline remove pipeline from pipelineMap and 
node2PipelineMap.If closePipeline is called by 
closePipelineIfNoOpenContainers,Are we supposed to remove pipeline from 
activePipelines?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org



[jira] [Created] (HDFS-13784) Metrics sampling period is milliseconds instead of seconds。

2018-08-01 Thread chencan (JIRA)
chencan created HDFS-13784:
--

 Summary: Metrics sampling period is milliseconds instead of 
seconds。
 Key: HDFS-13784
 URL: https://issues.apache.org/jira/browse/HDFS-13784
 Project: Hadoop HDFS
  Issue Type: Bug
Reporter: chencan


Metrics sampling period is milliseconds instead of seconds,this patch modify 
the related configuration file.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org



[jira] [Resolved] (HDDS-309) closePipelineIfNoOpenContainers should remove pipeline from activePipelines list.

2018-08-05 Thread chencan (JIRA)


 [ 
https://issues.apache.org/jira/browse/HDDS-309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

chencan resolved HDDS-309.
--
Resolution: Not A Problem

> closePipelineIfNoOpenContainers should remove pipeline from activePipelines 
> list.
> -
>
> Key: HDDS-309
> URL: https://issues.apache.org/jira/browse/HDDS-309
> Project: Hadoop Distributed Data Store
>  Issue Type: Bug
>  Components: SCM
>Reporter: chencan
>Priority: Minor
>
>     Function closePipeline remove pipeline from pipelineMap and 
> node2PipelineMap.If closePipeline is called by 
> closePipelineIfNoOpenContainers,Are we supposed to remove pipeline from 
> activePipelines?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org



[jira] [Created] (HDDS-346) ozoneShell show the new volume info after updateVolume command like updateBucket command.

2018-08-10 Thread chencan (JIRA)
chencan created HDDS-346:


 Summary: ozoneShell show the new volume info after updateVolume 
command like updateBucket command.
 Key: HDDS-346
 URL: https://issues.apache.org/jira/browse/HDDS-346
 Project: Hadoop Distributed Data Store
  Issue Type: Bug
Reporter: chencan


ozoneShell  show nothing after UpdateVolume,we may list the new volume info 
after update command.

Like this:

[root@localhost bin]# ./ozone oz -updateVolume /volume -quota 10GB
2018-08-10 09:40:02,241 WARN util.NativeCodeLoader: Unable to load 
native-hadoop library for your platform... using builtin-java classes where 
applicable
{
  "owner" : {
    "name" : "root"
  },
  "quota" : {
    "unit" : "GB",
    "size" : 10
  },
  "volumeName" : "volume",
  "createdOn" : "Tue, 01 Jun +50573 08:11:18 GMT",
  "createdBy" : "root"
}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org



[jira] [Created] (HDFS-13200) Fix prompt message in testPolicyAndStateCantBeNull

2018-02-27 Thread chencan (JIRA)
chencan created HDFS-13200:
--

 Summary: Fix prompt message in testPolicyAndStateCantBeNull
 Key: HDFS-13200
 URL: https://issues.apache.org/jira/browse/HDFS-13200
 Project: Hadoop HDFS
  Issue Type: Bug
Reporter: chencan






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org



[jira] [Created] (HDFS-13201) Fix prompt message in testPolicyAndStateCantBeNull

2018-02-27 Thread chencan (JIRA)
chencan created HDFS-13201:
--

 Summary: Fix prompt message in testPolicyAndStateCantBeNull
 Key: HDFS-13201
 URL: https://issues.apache.org/jira/browse/HDFS-13201
 Project: Hadoop HDFS
  Issue Type: Bug
Reporter: chencan






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org



[jira] [Created] (HDDS-724) Delimiters (/) should not allowed in bucket name when execute bucket update/delete command.

2018-10-24 Thread chencan (JIRA)
chencan created HDDS-724:


 Summary: Delimiters (/) should not allowed in bucket name when 
execute bucket update/delete command.
 Key: HDDS-724
 URL: https://issues.apache.org/jira/browse/HDDS-724
 Project: Hadoop Distributed Data Store
  Issue Type: Bug
Reporter: chencan


when execute the following commands, Delimiters (/) after bucket name is 
ignored.
    ozone sh bucket delete /volume1/bucket1/name1
    ozone sh bucket update /volume1/bucket1/name1



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org



[jira] [Created] (HDDS-810) Move the "\r\n" at the chunk end in TestSignedChunksInputStream#singlechunkwithoutend

2018-11-06 Thread chencan (JIRA)
chencan created HDDS-810:


 Summary: Move the "\r\n" at the chunk end in 
TestSignedChunksInputStream#singlechunkwithoutend
 Key: HDDS-810
 URL: https://issues.apache.org/jira/browse/HDDS-810
 Project: Hadoop Distributed Data Store
  Issue Type: Test
Reporter: chencan






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org