I am facing below issue while using Hive view from Ambari console:
E090 HDFS020 Could not write file /user/admin/hive/jobs/hive-job-3-2016-02-12_12-55/query.hql [HdfsApiException]Searching through the guides I found out that HDFS user directory set up needs to be done. Following that guide am issuing command hadoop fs -mkdir /user/admin from HDFS user but it throws the below error.
-bash-4.1$ hadoop fs -mkdir /user/admin mkdir: `/user/admin': Input/output error
Need your help on this issue.
Note : Using HDP 22.214.171.124 and it was configured using Amabri and also in that host HDFS client is running.
Validate HDFS configuration and make sure HDFS service is running.
Input/Output error can be thrown because of multiple reasons (wrong config, NN not available,....)
Could you please check the HDFS Namenode Log and see if any error/exception is shown.