Hive Web色调安装和设置已完成。但是仪表板不工作
我最近在hadoop集群上设置了色调,一切看起来都很好。我能够打开WebIE,localhost:8888,我可以看到HDFS、HBase和Mysql。但在这方面,我仍然面临一些问题。在这方面谁能帮我一个忙。 面临的问题有: 蜂巢连接:我使用的是beeline,我能够在外壳上使用beeline连接到蜂巢数据库,但在web色调中,它显示加载数据库时出错。我在hue.ini文件中使用的配置是 配置单元\服务器\主机=本地主机 运行HiveServer2旧版服务器的端口。 配置单元服务器端口=10000 第二个问题是,尽管我能够连接到mysql数据库,但我面临的问题是仪表板选项卡。我可以看到所有的小部件和图表选项,如饼图、条形图等。但当我将它们拖放到页面上时,它将永远处于加载状态。我看不到任何表格数据的图表Hive Web色调安装和设置已完成。但是仪表板不工作,hive,dashboard,hue,Hive,Dashboard,Hue,我最近在hadoop集群上设置了色调,一切看起来都很好。我能够打开WebIE,localhost:8888,我可以看到HDFS、HBase和Mysql。但在这方面,我仍然面临一些问题。在这方面谁能帮我一个忙。 面临的问题有: 蜂巢连接:我使用的是beeline,我能够在外壳上使用beeline连接到蜂巢数据库,但在web色调中,它显示加载数据库时出错。我在hue.ini文件中使用的配置是 配置单元\服务器\主机=本地主机 运行HiveServer2旧版服务器的端口。 配置单元服务器端口=1000
请帮助我,因为我已经试了10天了,但我还找不到任何指针。@Ruthikajawar我这里有一个可用的hue.ini: 工作蜂巢的具体情况如下:
[beeswax]
# Host where HiveServer2 is running.
# If Kerberos security is enabled, use fully-qualified domain name (FQDN).
hive_server_host=hdp.cloudera.com
# Binary thrift port for HiveServer2.
#hive_server_port=10000
# Http thrift port for HiveServer2.
#hive_server_http_port=10001
# Host where LLAP is running
## llap_server_host = localhost
# LLAP binary thrift port
## llap_server_port = 10500
# LLAP HTTP Thrift port
## llap_server_thrift_port = 10501
# Alternatively, use Service Discovery for LLAP (Hive Server Interactive) and/or Hiveserver2, this will override server and thrift port
# Whether to use Service Discovery for LLAP
## hive_discovery_llap = true
# is llap (hive server interactive) running in an HA configuration (more than 1)
# important as the zookeeper structure is different
## hive_discovery_llap_ha = false
# Shortcuts to finding LLAP znode Key
# Non-HA - hiveserver-interactive-site - hive.server2.zookeeper.namespace ex hive2 = /hive2
# HA-NonKerberized - (llap_app_name)_llap ex app name llap0 = /llap0_llap
# HA-Kerberized - (llap_app_name)_llap-sasl ex app name llap0 = /llap0_llap-sasl
## hive_discovery_llap_znode = /hiveserver2-hive2
# Whether to use Service Discovery for HiveServer2
hive_discovery_hs2 = true
# Hiveserver2 is hive-site hive.server2.zookeeper.namespace ex hiveserver2 = /hiverserver2
hive_discovery_hiveserver2_znode = /hiveserver2
# Applicable only for LLAP HA
# To keep the load on zookeeper to a minimum
# ---- we cache the LLAP activeEndpoint for the cache_timeout period
# ---- we cache the hiveserver2 endpoint for the length of session
# configurations to set the time between zookeeper checks
## cache_timeout = 60
# Host where Hive Metastore Server (HMS) is running.
# If Kerberos security is enabled, the fully-qualified domain name (FQDN) is required.
#hive_metastore_host=hdp.cloudera.com
# Configure the port the Hive Metastore Server runs on.
#hive_metastore_port=9083
# Hive configuration directory, where hive-site.xml is located
hive_conf_dir=/etc/hive/conf
# Timeout in seconds for thrift calls to Hive service
## server_conn_timeout=120
# Choose whether to use the old GetLog() thrift call from before Hive 0.14 to retrieve the logs.
# If false, use the FetchResults() thrift call from Hive 1.0 or more instead.
## use_get_log_api=false
# Limit the number of partitions that can be listed.
## list_partitions_limit=10000
# The maximum number of partitions that will be included in the SELECT * LIMIT sample query for partitioned tables.
## query_partitions_limit=10
# A limit to the number of rows that can be downloaded from a query before it is truncated.
# A value of -1 means there will be no limit.
## download_row_limit=100000
# A limit to the number of bytes that can be downloaded from a query before it is truncated.
# A value of -1 means there will be no limit.
## download_bytes_limit=-1
# Hue will try to close the Hive query when the user leaves the editor page.
# This will free all the query resources in HiveServer2, but also make its results inaccessible.
## close_queries=false
# Hue will use at most this many HiveServer2 sessions per user at a time.
# For Tez, increase the number to more if you need more than one query at the time, e.g. 2 or 3 (Tez has a maximum of 1 query by session).
## max_number_of_sessions=1
# Thrift version to use when communicating with HiveServer2.
# Version 11 comes with Hive 3.0. If issues, try 7.
thrift_version=11
# A comma-separated list of white-listed Hive configuration properties that users are authorized to set.
## config_whitelist=hive.map.aggr,hive.exec.compress.output,hive.exec.parallel,hive.execution.engine,mapreduce.job.queuename
# Override the default desktop username and password of the hue user used for authentications with other services.
# e.g. Used for LDAP/PAM pass-through authentication.
## auth_username=hive
## auth_password=hive
# Use SASL framework to establish connection to host.
use_sasl=true
关于你问题的第二部分。在使用UI捕获和解决任何错误时,应监视/var/log/hue/error.log 嗨,史蒂文,非常感谢你的回复。我使用了相同的配置。有一件事让我吃惊,那就是我看不到我的蜂巢服务器2是否启动了。如果我看穿了ambari,它就会显示出来,我的端口10000也在监听,我的直线也在工作。但我不确定为什么色调不能连接到蜂巢。连接中止时会出现错误。最后一行是SASL值,我必须将其设置为true才能使配置单元正常工作。请注意,我使用了zookeeper发现方法。我以前尝试过发送配置单元主机和端口,但没有成功。也许是sasl的设置,但我很高兴它能正常工作。。。。我现在正试图让我的仪表板正常工作,以排除那个小部件的故障。我还想提到我一直在使用jdbc连接到hive。。那么,有可能通过jdbc将色调连接到hive吗?