环境:
hadoop-2.6.0-cdh5.12.0
hive-1.1.0-cdh5.12.0
做了高可靠!
hive使用各种函数等等一切正常,但是就是无法做表连接!!!
看图:
看图:
开启debug模式:
[hadoop@master01 hive-1.1.0-cdh5.12.0]$ hive -hiveconf hive.root.logger=DEBUG,console
which: no hbase in (/data/hadoop-2.6.0-cdh5.12.0/bin:/usr/java/jdk1.8.0_131/bin:/data/hadoop-2.6.0-cdh5.12.0/bin:/usr/java/jdk1.8.0_131/bin:/usr/java/jdk1.8.0_131/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/bin:/home/hadoop/.local/bin:/home/hadoop/bin:/bin:/data/hive-1.1.0-cdh5.12.0/bin:/data/hive-1.1.0-cdh5.12.0/conf:/bin:/home/hadoop/.local/bin:/home/hadoop/bin:/data/hadoop-2.6.0-cdh5.12.0/bin:/data/hive-1.1.0-cdh5.12.0/bin:/data/hive-1.1.0-cdh5.12.0/conf:/data/sqoop-1.4.6-cdh5.12.0/bin)
17/08/03 22:02:58 WARN conf.HiveConf: HiveConf of name hive.metastore.local does not exist
17/08/03 22:02:58 [main]: DEBUG common.LogUtils: Using hive-site.xml found on CLASSPATH at /data/hive-1.1.0-cdh5.12.0/conf/hive-site.xml
17/08/03 22:02:58 [main]: WARN conf.HiveConf: HiveConf of name hive.metastore.local does not exist
Logging initialized using configuration in jar:file:/data/hive-1.1.0-cdh5.12.0/lib/hive-common-1.1.0-cdh5.12.0.jar!/hive-log4j.properties
17/08/03 22:02:58 [main]: INFO SessionState:
Logging initialized using configuration in jar:file:/data/hive-1.1.0-cdh5.12.0/lib/hive-common-1.1.0-cdh5.12.0.jar!/hive-log4j.properties
17/08/03 22:02:58 [main]: DEBUG conf.VariableSubstitution: Substitution is on: hive
17/08/03 22:02:58 [main]: DEBUG hdfs.BlockReaderLocal: dfs.client.use.legacy.blockreader.local = false
17/08/03 22:02:58 [main]: DEBUG hdfs.BlockReaderLocal: dfs.client.read.shortcircuit = false
17/08/03 22:02:58 [main]: DEBUG hdfs.BlockReaderLocal: dfs.client.domain.socket.data.traffic = false
17/08/03 22:02:58 [main]: DEBUG hdfs.BlockReaderLocal: dfs.domain.socket.path =
17/08/03 22:02:58 [main]: DEBUG hdfs.HAUtil: No HA service delegation token found for logical URI hdfs://ns
17/08/03 22:02:58 [main]: DEBUG hdfs.BlockReaderLocal: dfs.client.use.legacy.blockreader.local = false
17/08/03 22:02:58 [main]: DEBUG hdfs.BlockReaderLocal: dfs.client.read.shortcircuit = false
17/08/03 22:02:58 [main]: DEBUG hdfs.BlockReaderLocal: dfs.client.domain.socket.data.traffic = false
17/08/03 22:02:58 [main]: DEBUG hdfs.BlockReaderLocal: dfs.domain.socket.path =
17/08/03 22:02:58 [main]: DEBUG retry.RetryUtils: multipleLinearRandomRetry = null
17/08/03 22:02:58 [main]: DEBUG ipc.Server: rpcKind=RPC_PROTOCOL_BUFFER, rpcRequestWrapperClass=class org.apache.hadoop.ipc.ProtobufRpcEngine$RpcRequestWrapper, rpcInvoker=org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker@5adb0db3
17/08/03 22:02:58 [main]: DEBUG ipc.Client: getting client out of cache: org.apache.hadoop.ipc.Client@a22cb6a
17/08/03 22:02:58 [Thread-4]: DEBUG unix.DomainSocketWatcher: org.apache.hadoop.net.unix.DomainSocketWatcher$2@73e226bf: starting with interruptCheckPeriodMs = 60000
17/08/03 22:02:58 [main]: DEBUG util.PerformanceAdvisory: Both short-circuit local reads and UNIX domain socket are disabled.
17/08/03 22:02:58 [main]: DEBUG sasl.DataTransferSaslUtil: DataTransferProtocol not using SaslPropertiesResolver, no QOP found in configuration for dfs.data.transfer.protection
17/08/03 22:02:58 [main]: DEBUG ipc.Client: The ping interval is 60000 ms.
17/08/03 22:02:58 [main]: DEBUG ipc.Client: Connecting to master01/10.38.64.68:9000
17/08/03 22:02:58 [IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop]: DEBUG ipc.Client: IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop: starting, having connections 1
17/08/03 22:02:58 [IPC Parameter Sending Thread #0]: DEBUG ipc.Client: IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop sending #0
17/08/03 22:02:58 [IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop]: DEBUG ipc.Client: IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop got value #0
17/08/03 22:02:58 [main]: DEBUG ipc.ProtobufRpcEngine: Call: getFileInfo took 38ms
17/08/03 22:02:58 [IPC Parameter Sending Thread #0]: DEBUG ipc.Client: IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop sending #1
17/08/03 22:02:58 [IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop]: DEBUG ipc.Client: IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop got value #1
17/08/03 22:02:58 [main]: DEBUG ipc.ProtobufRpcEngine: Call: getFileInfo took 1ms
17/08/03 22:02:58 [IPC Parameter Sending Thread #0]: DEBUG ipc.Client: IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop sending #2
17/08/03 22:02:58 [IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop]: DEBUG ipc.Client: IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop got value #2
17/08/03 22:02:58 [main]: DEBUG ipc.ProtobufRpcEngine: Call: getFileInfo took 1ms
17/08/03 22:02:58 [main]: DEBUG nativeio.NativeIO: Initialized cache for IDs to User/Group mapping with a cache timeout of 14400 seconds.
17/08/03 22:02:58 [main]: INFO session.SessionState: Created local directory: /tmp/7ffd4187-62e3-4254-8b2a-c577c0d2eadc_resources
17/08/03 22:02:58 [IPC Parameter Sending Thread #0]: DEBUG ipc.Client: IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop sending #3
17/08/03 22:02:58 [IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop]: DEBUG ipc.Client: IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop got value #3
17/08/03 22:02:58 [main]: DEBUG ipc.ProtobufRpcEngine: Call: getFileInfo took 1ms
17/08/03 22:02:58 [main]: DEBUG hdfs.DFSClient: /user/hive/tmp/hadoop/7ffd4187-62e3-4254-8b2a-c577c0d2eadc: masked={ masked: rwx------, unmasked: rwx------ }
17/08/03 22:02:58 [IPC Parameter Sending Thread #0]: DEBUG ipc.Client: IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop sending #4
17/08/03 22:02:58 [IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop]: DEBUG ipc.Client: IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop got value #4
17/08/03 22:02:58 [main]: DEBUG ipc.ProtobufRpcEngine: Call: mkdirs took 4ms
17/08/03 22:02:58 [main]: INFO session.SessionState: Created HDFS directory: /user/hive/tmp/hadoop/7ffd4187-62e3-4254-8b2a-c577c0d2eadc
17/08/03 22:02:58 [IPC Parameter Sending Thread #0]: DEBUG ipc.Client: IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop sending #5
17/08/03 22:02:58 [IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop]: DEBUG ipc.Client: IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop got value #5
17/08/03 22:02:58 [main]: DEBUG ipc.ProtobufRpcEngine: Call: getFileInfo took 1ms
17/08/03 22:02:58 [main]: INFO session.SessionState: Created local directory: /tmp/hadoop/7ffd4187-62e3-4254-8b2a-c577c0d2eadc
17/08/03 22:02:58 [IPC Parameter Sending Thread #0]: DEBUG ipc.Client: IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop sending #6
17/08/03 22:02:58 [IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop]: DEBUG ipc.Client: IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop got value #6
17/08/03 22:02:58 [main]: DEBUG ipc.ProtobufRpcEngine: Call: getFileInfo took 0ms
17/08/03 22:02:58 [main]: DEBUG hdfs.DFSClient: /user/hive/tmp/hadoop/7ffd4187-62e3-4254-8b2a-c577c0d2eadc/_tmp_space.db: masked={ masked: rwx------, unmasked: rwx------ }
17/08/03 22:02:58 [IPC Parameter Sending Thread #0]: DEBUG ipc.Client: IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop sending #7
17/08/03 22:02:58 [IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop]: DEBUG ipc.Client: IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop got value #7
17/08/03 22:02:58 [main]: DEBUG ipc.ProtobufRpcEngine: Call: mkdirs took 3ms
17/08/03 22:02:58 [main]: INFO session.SessionState: Created HDFS directory: /user/hive/tmp/hadoop/7ffd4187-62e3-4254-8b2a-c577c0d2eadc/_tmp_space.db
17/08/03 22:02:58 [main]: INFO session.SessionState: No Tez session required at this point. hive.execution.engine=mr.
WARNING: Hive CLI is deprecated and migration to Beeline is recommended.
hive> 17/08/03 22:03:08 [IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop]: DEBUG ipc.Client: IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop: closed
17/08/03 22:03:08 [IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop]: DEBUG ipc.Client: IPC Client (966966167) connection to master01/10.38.64.68:9000 from hadoop: stopped, remaining connections 0