E090 HDFS030 Error in Ambari Hive /HDFS Views:
I was the getting the following error in HIVE views in ambari after my cluster setup. Also i couldn't browse through the HDFS files in ambari.
E090 HDFS030 Error in creation /user//hive/jobs/hive-job-... [HdfsApiException]
Solution:
Step 1: Identify the ambari-server daemon user id.
To check which os user is running ambari-server , use the following os command
root@namenode1:~# ps -ef |grep -i $(ambari-server status |grep -i PID |awk {'print $5'}) |awk {'print $1'}
Output:
root
In my server ambari server is running as root.
Step 2: Add the custom property in HDFS Core-site.xml
In hdfs config, core-site.xml add the following custom properties.
hadoop.proxyuser.root.groups=*
hadoop.proxyuser.root.hosts=*
Note: if your ambari-server daemon is running as different user, then change the user accordingly.
For example, if it is running as os user "ambariadmin" then the following entry needs to be added in the core-site.xml
hadoop.proxyuser.ambariadmin.groups=*
hadoop.proxyuser.ambariadmin.hosts=*
For more information, please see
http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_ambari_views_guide/content/_configuring_your_cluster_for_files_view.html
I was the getting the following error in HIVE views in ambari after my cluster setup. Also i couldn't browse through the HDFS files in ambari.
E090 HDFS030 Error in creation /user//hive/jobs/hive-job-... [HdfsApiException]
Solution:
Step 1: Identify the ambari-server daemon user id.
To check which os user is running ambari-server , use the following os command
root@namenode1:~# ps -ef |grep -i $(ambari-server status |grep -i PID |awk {'print $5'}) |awk {'print $1'}
Output:
root
In my server ambari server is running as root.
Step 2: Add the custom property in HDFS Core-site.xml
In hdfs config, core-site.xml add the following custom properties.
hadoop.proxyuser.root.groups=*
hadoop.proxyuser.root.hosts=*
Note: if your ambari-server daemon is running as different user, then change the user accordingly.
For example, if it is running as os user "ambariadmin" then the following entry needs to be added in the core-site.xml
hadoop.proxyuser.ambariadmin.groups=*
hadoop.proxyuser.ambariadmin.hosts=*
For more information, please see
http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_ambari_views_guide/content/_configuring_your_cluster_for_files_view.html
No comments:
Post a Comment