• Hue问题记录


    问题1:

    Could not connect to quickstart.cloudera:10000

    gotten and still exists when having issued:
    sudo service hive-server2 restart

    解决方案:
    sudo -u hdfs hadoop dfsadmin -safemode leave
    service hive-metastore restart
    netstat -tanp | grep 10000

    问题2:

    java.lang.RuntimeException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient

    解决方案:

    原因:因为没有正常启动Hive 的 Metastore Server服务进程。
    解决方法:启动Hive 的 Metastore Server服务进程,执行如下命令:

    ./hive --service metastore &

    netstat -tanp | grep 9083
    kill -9 进程号
    hive --service metastore &

    重点目录位置3:

    查看服务
    [root@quickstart /]# cd /etc/init.d/
    [root@quickstart init.d]# ls

    命令位置
    [root@quickstart init.d]# which hive
    /usr/bin/hive

    hue.ini文件配置
    [root@quickstart init.d]# find / -name hue.ini
    /etc/hue/conf.empty/hue.ini
    [root@quickstart init.d]# vim /etc/hue/conf.empty/hue.ini

    问题4:

    Hive Failed to access Hive warehouse: /user/hive/warehouse

    http://gethue.com/how-to-configure-hue-in-your-hadoop-cluster/

    常用操作:

    docker run --privileged=true --hostname=quickstart.cloudera --name lh2 -t -i -d cloudera/quickstart /usr/bin/docker-quickstart
    
    
    service hue restart
    service mysqld restart
    
    service cloudera-scm-server restart
    service cloudera-scm-agent restart
    
    
    service hadoop-hdfs-namenode restart
    service hadoop-hdfs-datanode restart
    service hadoop-hdfs-secondarynamenode restart
    service hadoop-yarn-nodemanager restart
    service hadoop-yarn-resourcemanager restart
    service hadoop-mapreduce-historyserver restart
    service hadoop-hdfs-journalnode restart
    service hadoop-httpfs restart
    
    service hive-metastore restart
    service hive-server2 restart
    
    service impala-server restart
    service impala-catalog restart
    service impala-state-store restart
    
    
    ----------------------------------
    8020:8020 -p 
    8888:8888 -p 
    7180:7180 -p 
    21050:21050 -p 
    50070:50070 -p 
    50075:50075 -p 
    50010:50010 -p 
    50020:50020 
    
    
    
    
    
    
    
    0.0.0.0:7180->7180/tcp, 
    0.0.0.0:8020->8020/tcp, 
    0.0.0.0:8888->8888/tcp, 
    0.0.0.0:10000->10000/tcp, 
    0.0.0.0:21050->21050/tcp, 
    0.0.0.0:50010->50010/tcp, 
    0.0.0.0:50020->50020/tcp, 
    0.0.0.0:50070->50070/tcp, 
    0.0.0.0:50075->50075/tcp
    
    
    
  • 相关阅读:
    ASP.NET WebAPI2 发布之后404 Not Found
    WPF MVVM TreeView 实现 右键选中 右键菜单
    Asp.Net MVC4+EF6 Code First 权限管理系统 源码下载
    C# Winform DataGrid 绑定List<> Or ObservableCollection<> 类型无法自动刷新问题
    VMWare 安装时报错 tools-windows.msi failed报错解决办法
    HashMap 扩容机制
    POI解析Excel封装工具
    poi API
    简单echars说明和使用
    比较运算符compareTo()、equals()、==之间的区别
  • 原文地址:https://www.cnblogs.com/liuge36/p/12614751.html
Copyright © 2020-2023  润新知