I deployed hadoop using ambari 1.6.1.While starting HiveServer2,I am getting below error.Similar error for YARN and MapReduce2 too.Please help me out.
Fail: Execution of ‘hadoop fs -mkdir rpm -q hadoop | grep -q "hadoop-1" || echo "-p" /apps/hive/warehouse /user/hive && hadoop fs -chmod 777 /apps/hive/warehouse && hadoop fs -chmod 700 /user/hive && hadoop fs -chown hive /apps/hive/warehouse /user/hive’ returned 1. mkdir: Failed on local exception: com.google.protobuf.InvalidProtocolBufferException: Protocol message contained an invalid tag (zero).