Hi all, I'm using hive0.13.1. I logged in as hcat and started the webhcat server. Now I can get the table info by the restful api. But I’m getting an error "{"error":"User: hcat is not allowed to impersonate wanchang"}" when attempting to submit a streaming via webhcat. Here is part of the configuration and :
webhcat-site.xml > > <property> <name>webhcat.proxyuser.hcat.hosts</name> <value>*</value> </property> <property> <name>webhcat.proxyuser.hcat.groups</name> <value>*</value> </property> core-site.xml > <property> <name>hadoop.proxyuser.hcat.groups</name> <value>*</value> </property> > > <property> <name>hadoop.proxyuser.hcat.hosts</name> <value>*</value> </property> > run.sh > #!/bin/bash > SCRIPT_DIR=`pwd` > curl -s \ -d user.name=wanchang \ -d input=/user/wanchang/input \ -d output=/user/wanchang/output \ -d file=$SCRIPT_DIR/mapper.py \ -d file=$SCRIPT_DIR/reducer.py \ -d mapper=$SCRIPT_DIR/mapper.py \ -d reducer=$SCRIPT_DIR/reducer.py \ 'http://data-hadoop01:50111/templeton/v1/mapreduce/streaming' The security of the cluster is off. Would anyone give me some suggestions about this?