周源的专栏

大数据Hadoop生态圈最新前沿技术研究 包括架构设计、解决方案、应用开发、安全领域、集群规划部署等...

排序:
默认
按更新时间
按访问量

HBase常用命令行操作

HBase(hbase shell进入): (1)创建命名空间:create_namespace 'zy_test' (2)创建表:create 'zy_test', {NAME => 'f1', VERSION => 2} (3)查询命名空间:list...

2018-11-15 14:05:04

阅读数:1

评论数:0

Ambari Hue接入安全认证Kerberos连接HDFS,报错 Cannot access: /.

Hue开始在python源码中添加打印出异常信息: [15/Nov/2018 08:56:56] "GET /hbase/api/getTableList/Cluster1?_=1542242641611 HTTP/1.1" 200 9292 --------...

2018-11-15 12:02:07

阅读数:3

评论数:0

Hive查询count(*)和count(1)显示为0,但表中存在数据

进入hive shell,输入set hive.compute.query.using.stats=false,然后运行下查询语句,发现正常。 对应Ambari中Hive组件的配置参数: 修改后可能对查询性能稍微有点影响...

2018-11-06 13:11:13

阅读数:46

评论数:0

ambari集成Impala,通过hive查询hbase表报错null

通过浏览器IP+25000或者25020端口访问,查看logs日志,发现zookerper连接配置的参数存在问题,显示连接/hbase,而我们ambari连接的应该是hbase-unsecure,怀疑是配置文件未加载导致。 解决方案:缺少hbase的配置文件hbase-site.xml,将其拷贝...

2018-11-01 17:02:33

阅读数:29

评论数:0

Ambari集成接入Hue 4.2

目录 1 安装前准备  1.1 下载Hue安装包  1.2 在Hue安装节点安装依赖  2 安装Hue  2.1 Hue纳入Ambari的管理  2.2 版本修改  2.3 重启Ambari Server  3 常见问题    安装前准备 下载Hue安装包 环境: ...

2018-10-25 09:33:52

阅读数:77

评论数:2

Ambari某台主机失去心跳,重启ambar-server和ambari-agent都不生效

"IOError: Request to https://localhost:8441/agent/v1/register/namenode.exterrocloud.info failed due to EOF occurred in violation of protocol...

2018-09-19 16:17:04

阅读数:207

评论数:0

Kylin启动报错: Insufficient permissions (user=root, scope=default, params=[namespace=default,table=...

具体日志信息如下: Caused by: org.apache.hadoop.hbase.security.AccessDeniedException: org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient p...

2018-09-18 10:25:12

阅读数:77

评论数:0

sqoop执行hive导入报错

错误日志: 2018-09-17 14:50:57,932 INFO [OutputFormatLoader-consumer] com.chinacreator.sqoop.connector.hive.HiveLoader: load sql:LOAD DATA INPATH '/f95a...

2018-09-17 16:29:11

阅读数:63

评论数:0

sqoop接入kerberos安全认证后,本地运行正常,但提交到yarn上连接hive报错: Unable to obtain password from user

日志信息: 2018-09-17 11:31:30,774 INFO [OutputFormatLoader-consumer] com.chinacreator.sqoop.connector.hive.HiveExecutor: 连接hive失败java.io.IOException: Lo...

2018-09-17 15:41:50

阅读数:330

评论数:0

java判断mysql中数据库是否存在

public static boolean isExistDatabase(String database) { Connection conn = null; Statement stmt = null; ResultSet rs = null;...

2018-09-05 11:19:49

阅读数:226

评论数:0

Postman发送post请求报错:Missing Required Header for CSRF Vulnerability Protection

<html>     <head>         <title>Apache Tomcat/7.0.77 - Error report</ti...

2018-08-27 15:35:42

阅读数:203

评论数:0

Yarn升级报:retries get failed due to exceeded maximum allowed retries number: 0

日志: 18/08/17 09:11:22 WARN ipc.Client: Failed to connect to server: 133.bd/**.**.**.**:8032: retries get failed due to exceeded maximum allowed retr...

2018-08-17 09:21:19

阅读数:206

评论数:1

HBase集群迁移数据报错:java.lang.ClassNotFoundException: org.apache.phoenix.hbase.index.Indexer

RegionServers报错日志: 2018-08-14 17:19:58,072 ERROR [RS_OPEN_REGION-140:16020-0] handler.OpenRegionHandler: Failed open of region=xtable,381d5ed8-a610-...

2018-08-14 17:38:52

阅读数:81

评论数:0

Ambari中Hbase元数据恢复

meta表一直in transition,master起不来,日志中报错: zookeeper.MetaTableLocator: Failed verification of hbase:meta 解决方法如下:   1.删除zookeeper信息 rmr /hbase-unsecure...

2018-08-10 11:29:26

阅读数:81

评论数:0

Hive集群间数据迁移,Hive Metastore启动报错:Metastore state would be inconsistent !!

操作链接参考:https://blog.csdn.net/levy_cui/article/details/70156682 报错信息: resource_management.core.exceptions.ExecutionFailed: Execution of 'export HIV...

2018-08-09 17:39:18

阅读数:149

评论数:0

启用Kerberos后,Yarn中ResourceManager启动失败:KeeperErrorCode = BadVersion for /yarn-leader-election

日志报错: 2018-08-09 11:36:21,783 INFO  service.AbstractService (AbstractService.java:noteFailure(272)) - Service org.apache.hadoop.yarn.server.resource...

2018-08-09 11:45:25

阅读数:163

评论数:1

禁用Kerberos失败,hive组件的HiveServer2启动失败

报错: 2018-08-09 10:47:50,360 FATAL [main]: server.HiveServer2 (HiveServer2.java:execute(722)) - Error starting HiveServer2 java.lang.Error: Max start...

2018-08-09 11:10:38

阅读数:73

评论数:0

禁用Kerberos失败,kafka启动报错:KeeperErrorCode = NoAuth

日志: [2018-08-09 10:51:41,954] FATAL Fatal error during KafkaServerStartable startup. Prepare to shutdown (kafka.server.KafkaServerStartable) org.I0I...

2018-08-09 10:57:46

阅读数:267

评论数:0

HiveAccessControlException Permission denied: user[admin] does not have [USE] privilege on [Unknown

启用kerberos,通过Ambari的Hive View访问hive加载报错: {"trace":"org.apache.hive.service.cli.HiveSQLException: Error while compiling st...

2018-08-08 14:53:04

阅读数:364

评论数:0

Ambari启用Kerberos后,HDFS报Failed to find datanode, suggest to check cluster health. excludeDatanode

报错日志: 2018-08-06 14:10:56,812 WARN  ipc.Client (Client.java:run(711)) - Couldn't setup connection for dn/140.bd@EXAMPLE.COM to 139.bd/**.**.**.**:80...

2018-08-07 09:01:54

阅读数:248

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭