Hue: Job Designer

1. hue [jobsub] saving a design shows an empty page after. 

when I check the system log whic likes followings:



 

The main error is :

WebHdfsException: SecurityException: Failed to obtain user group information:
org.apache.hadoop.security.authorize.AuthorizationException: User:
 hue is not allowed to impersonate hue (error 401)

 

A: change hadoop core-site.xml and the following properties to it and upgrade to all nodes, restart cluster

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

 

2. When I design a sqoop job in "Job Designer" and save , but the list only displays the example jobs.

My designed job is missing. Check the logs, find some errors



 

A: change permissions by command

hdfs dfs -chmod -R 777 ./

 

 3. when I submit a sqoop job from Job Designer to run, an error produces



 To check the configuration



 

 A: change hue.ini to

[[hdfs_clusters]]
    # HA support by using HttpFs

    [[[default]]]
      # Enter the filesystem uri
      fs_defaultfs=hdfs://192.168.122.1:2014

      # NameNode logical name.
      #logical_name=zhj-c0
      logical_name=hdfs://192.168.122.1:2014

      # Use WebHdfs/HttpFs as the communication mechanism.
      # Domain should be the NameNode or HttpFs host.
      # Default port is 14000 for HttpFs.
      webhdfs_url=http://192.168.122.1:50070/webhdfs/v1

      # Change this if your HDFS cluster is Kerberos-secured
      ## security_enabled=false

 

 [[yarn_clusters]]

    [[[default]]]
      # Enter the host on which you are running the ResourceManager
      resourcemanager_host=192.168.122.1

      # The port where the ResourceManager IPC listens on
      resourcemanager_port=2015

      # Whether to submit jobs to this cluster
      submit_to=True

      # Change this if your YARN cluster is Kerberos-secured
      ## security_enabled=false

      # URL of the ResourceManager API
      resourcemanager_api_url=http://192.168.122.1:2019

      # URL of the ProxyServer API
      ## proxy_api_url=http://localhost:8088

      # URL of the HistoryServer API
      history_server_api_url=http://192.168.122.1:19888

 

      # NameNode logical name.
      #logical_name=zhj-c0
      logical_name=hdfs://192.168.122.1:2014
This cofiguration is werid due to its name, actually it means nameNode

The values in the above configureation are corrosponding to hadoop related configurations listed in the

following table



 

 

 

 

 

 

 https://groups.google.com/a/cloudera.org/forum/#!topic/hue-dev/QNOb5RWwYNQ

References

https://github.com/cloudera/hue/blob/master/docs/user-guide/jobdesigner.md

http://cloudera.github.io/hue/docs-3.5.0/release-notes/release-notes-3.5.0.html

http://grokbase.com/p/cloudera/hue-dev/13c5mehwrq/review-request-jobsub-saving-a-design-shows-an-empty-page-after

 https://review.cloudera.org//r/3895/diff/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值