Open brittup opened 3 years ago
I suspect this is cosmetic...
zone_root = hdfs_root = "/ifs/az6"
zone_hdfs = ""
path = "hbase"
[INFO] mkdir '/ifs/az6hbase'
- 🐛 There's no
join
!
https://github.com/Isilon/isilon_hadoop_tools/blob/61d0b21d13b843861657eb6baa81363d3bdc3223/src/isilon_hadoop_tools/directories.py#L67 https://github.com/Isilon/isilon_hadoop_tools/blob/61d0b21d13b843861657eb6baa81363d3bdc3223/src/isilon_hadoop_tools/onefs.py#L1097-L1099 https://github.com/Isilon/isilon_hadoop_tools/blob/61d0b21d13b843861657eb6baa81363d3bdc3223/src/isilon_hadoop_tools/onefs.py#L660-L664
"/ifs/az6/hbase"
isi hdfs settings view --zone=az6 Service: Yes Default Block Size: 128M Default Checksum Type: none Authentication Mode: simple_only Root Directory: /ifs/az6 WebHDFS Enabled: Yes Ambari Server: Ambari Namenode: ODP Version: Data Transfer Cipher: none Ambari Metrics Collector:
[INFO] Had this been for real, this is what would have happened... [WARNING] The HDFS root is the same as the zone root. [INFO] mkdir '/ifs/az6' [INFO] chmod '755' '/ifs/az6' [INFO] chown 'hdfs:hadoop' '/ifs/az6' [INFO] mkdir '/ifs/az6hbase' < -- missing '/' between the root and directory [INFO] chmod '755' '/ifs/az6hbase' [INFO] chown 'hbase:hbase' '/ifs/az6hbase' [INFO] mkdir '/ifs/az6ranger'
isi hdfs settings view --zone=az6 Service: Yes Default Block Size: 128M Default Checksum Type: none Authentication Mode: simple_only Root Directory: /ifs/az6/hadoop_root WebHDFS Enabled: Yes Ambari Server: Ambari Namenode: ODP Version: Data Transfer Cipher: none Ambari Metrics Collector:
not an issue when hadoop root is not the access zone root
[INFO] Had this been for real, this is what would have happened... [INFO] mkdir '/ifs/az6/hadoop_root/' [INFO] chmod '755' '/ifs/az6/hadoop_root/' [INFO] chown 'hdfs:hadoop' '/ifs/az6/hadoop_root/' [INFO] mkdir '/ifs/az6/hadoop_root/hbase' [INFO] chmod '755' '/ifs/az6/hadoop_root/hbase' [INFO] chown 'hbase:hbase' '/ifs/az6/hadoop_root/hbase' [INFO] mkdir '/ifs/az6/hadoop_root/ranger'