Skip to content

hadoop root equal to access root issue with directory path #96

@brittup

Description

@brittup

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'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions