ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Chekanskiy" <echekans...@hortonworks.com>
Subject Review Request 17186: Datanode data directory is not created correctly
Date Wed, 22 Jan 2014 16:06:53 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17186/
-----------------------------------------------------------

Review request for Ambari and Andrew Onischuk.


Bugs: AMBARI-4383
    https://issues.apache.org/jira/browse/AMBARI-4383


Repository: ambari


Description
-------

dfs.datanode.data.dir was handled as directory path, but it can be comma-separated list of
directories, in which datanode store its data. Also this patch include fix for potential issue
due to low retry count during creation of hdfs directories. 


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/1.3.3/services/HDFS/package/scripts/hdfs_datanode.py
aa7b5e6 
  ambari-server/src/main/resources/stacks/HDP/1.3.3/services/HDFS/package/scripts/utils.py
058fa66 
  ambari-server/src/main/resources/stacks/HDP/2.1.1/services/HDFS/package/scripts/hdfs_datanode.py
e0b6c39 
  ambari-server/src/main/resources/stacks/HDP/2.1.1/services/HDFS/package/scripts/utils.py
0c035b4 

Diff: https://reviews.apache.org/r/17186/diff/


Testing
-------

Tested on stack 1.3.3 and 2.1.1 with dfs.datanode.data.dir=/hadoop/hdfs/data1,/hadoop/hdfs/data2,
all directories created and datanode started normally.


Thanks,

Eugene Chekanskiy


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message