Support Questions

Find answers, ask questions, and share your expertise

about hue access HDFS ha

avatar
Expert Contributor

I've configured hue on hdp2.4.2. and refer below docs.

http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_installing_manually_book/content/configur... and

and encountered below issues. anyone can help this

Traceback (most recent call last): File "/usr/lib/hue/desktop/core/src/desktop/views.py", line 355, in _get_config_errors error_list.extend(validator(user)) File "/usr/lib/hue/desktop/libs/liboozie/src/liboozie/conf.py", line 80, in config_validator message=_('Oozie Share Lib not installed in default location.'))) File "/usr/lib/hue/desktop/core/src/desktop/lib/conf.py", line 658, in validate_path if path is None or not fs.exists(path): File "/usr/lib/hue/desktop/libs/hadoop/src/hadoop/fs/webhdfs.py", line 217, in exists return self._stats(path) is not None File "/usr/lib/hue/desktop/libs/hadoop/src/hadoop/fs/webhdfs.py", line 205, in _stats raise ex WebHdfsException: RemoteException: User: httpfs is not allowed to impersonate hdfs (error 500) [16/Jun/2016 09:10:34 +0000] supervisor ERROR Exception in supervisor main loop Traceback (most recent call last): File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 414, in main wait_loop(sups, options) File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 424, in wait_loop time.sleep(1) File "/usr/lib/hue/desktop/core/src/desktop/supervisor.py", line 221, in sig_handler raise SystemExit("Signal %d received. Exiting" % signum) SystemExit: Signal 15 received. Exiting [16/Jun/2016 02:10:47 +0000] webhdfs ERROR Failed to determine superuser of WebHdfs at http://etl01.prod2.everstring.com:14000/webhdfs/v1/: RemoteException: User: httpfs is not allowed to impersonate hue (error 500)

1 ACCEPTED SOLUTION

avatar
Super Guru
@henryon wen

Can you please check if you have below properties?.

<property> <name>hadoop.proxyuser.httpfs.groups</name> <value>*</value> </property> <property> <name>hadoop.proxyuser.httpfs.hosts</name> <value>*</value> </property>

See this doc http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_hadoop-ha/content/ha-nn-deploy-hue.html

View solution in original post

6 REPLIES 6

avatar
Super Guru
@henryon wen

Can you please check if you have below properties?.

<property> <name>hadoop.proxyuser.httpfs.groups</name> <value>*</value> </property> <property> <name>hadoop.proxyuser.httpfs.hosts</name> <value>*</value> </property>

See this doc http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_hadoop-ha/content/ha-nn-deploy-hue.html

avatar
Expert Contributor

@Jitendra Yadav

it's in place. but still errors. btw, I enabled ranger plugin in hdfs.

avatar
Super Guru

@henryon wen

So was that working before enabling the ranger hdfs plugin?

avatar
Expert Contributor

not try that. I enabled ranger firstly. then try install hue. I thought it doesn't matter.

avatar
Super Guru

It should not be, if confs are ok i believe restarting services might help in this case. As per http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_hadoop-ha/content/ha-nn-deploy-hue.html

avatar
Expert Contributor

It's worked now. turnout I forgot to restart hdfs .