Hallo Roman,
I try to config oozie . Unfortunately I can not start web console
althowgh I made every thing after user manual.
I found that I have to configure this core-site.xml in the following way
<!-- OOZIE -->
<property>
<name>hadoop.proxyuser.[OOZIE_SERVER_USER].hosts</name>
<value>[OOZIE_SERVER_HOSTNAME]</value>
</property>
<property>
<name>hadoop.proxyuser.[OOZIE_SERVER_USER].groups</name>
<value>[USER_GROUPS_THAT_ALLOW_IMPERSONATION]</value>
</property>
I attach my core-site.xml . My user is oozie as in psecification of cloudera.
I use the file in /etc/hadoop/conf.pseudo
I make something false and I would be very thankfull to you to tell me what ;)
I extracted also extJS in /var/lib/oozie.
Thank you very much once again!
Best regards,
Ivo
On 11/18/2013 01:10 AM, Roman Shaposhnik wrote:
Hi Ivaylo!
On Sun, Nov 17, 2013 at 1:11 PM, ivaylo frankov
<[email protected]> wrote:
Dear Bruno,
Thank you very much. Thanks you help I succeed to start HBase I even see it
in HUE.
Unfortunatelly I have other problem with HUE. In fact 2 problems.
When I try to see what is on HDFS I receive :
Cannot access: /. Note: You are a Hue admin but not a HDFS superuser (which
is "hdfs").
I tried to change hdfs-site.xml
<configuration>
<property>
<name>dfs.permissions</name>
<value>false</value>
</property>
<property>
<name>dfs.web.ugi</name>
<value>root,root</value>
</property>
</configuration>
But without success.
The second is I can not start pig shell (and pig IDE) in HUE.
For Hue access to HDFS I'd actually recommend configuring
Hadoop's HTTPFS. I find it a little bit more convenient that
way:
http://hadoop.apache.org/docs/r2.2.0/hadoop-hdfs-httpfs/index.html
When I start pig shell I receive :
Error: value 0 for UID is less than the minimum UID allowed (500)
It looks that somehow you're ending up logging in Hue as root (UID 0).
This won't work. You need to create a regular Unix user AND a corresponding
Hue user (just the same user name) to be able to submit jobs.
Thanks,
Roman.
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<property>
<name>fs.default.name</name>
<value>hdfs://localhost:8020</value>
</property>
<!-- OOZIE proxy user setting -->
<property>
<name>hadoop.proxyuser.oozie.hosts</name>
<value>*</value>
</property>
<property>
<name>hadoop.proxyuser.oozie.groups</name>
<value>*</value>
</property>
<!-- HTTPFS proxy user setting -->
<property>
<name>hadoop.proxyuser.httpfs.hosts</name>
<value>*</value>
</property>
<property>
<name>hadoop.proxyuser.httpfs.groups</name>
<value>*</value>
</property>
</configuration>