2016-11-25 10:53:46,600 INFO [main] hive.metastore: Trying to connect to metastore with URI thrift://ip-10-137-174-224.ec2.internal:9083
2016-11-25 10:53:46,632 INFO [main] hive.metastore: Opened a connection to metastore, current connections: 1
2016-11-25 10:53:46,655 INFO [main] hive.metastore: Connected to metastore.
2016-11-25 10:53:47,130 INFO [main] logger.type: initialize(alluxio://
1.2.1.10:19998, Configuration: core-default.xml, core-site.xml, mapred-default.xml, mapred-site.xml, yarn-default.xml, yarn-site.xml, hdfs-default.xml, hdfs-site.xml, org.apache.hadoop.hive.conf.LoopingByteArrayInputStream@1b266842, file:/etc/hive/conf.dist/hive-site.xml). Connecting to Alluxio: alluxio://
1.2.1.10:199982016-11-25 10:53:47,136 INFO [main] logger.type: alluxio://
1.2.1.10:19998 alluxio://
1.2.1.10:199982016-11-25 10:53:47,139 INFO [main] logger.type: Loading Alluxio properties from Hadoop configuration: {alluxio.user.file.writetype.default=CACHE_THROUGH}
2016-11-25 10:53:47,221 INFO [main] logger.type: Starting sinks with config: {}.
2016-11-25 10:53:47,221 INFO [main] logger.type: Sinks have already been started.
2016-11-25 10:53:47,235 INFO [main] logger.type: getFileStatus(/tmp/hive)
2016-11-25 10:53:47,263 INFO [main] logger.type: Alluxio client (version 1.3.0) is trying to connect with FileSystemMasterClient master @ /1.2.1.10:19998
2016-11-25 10:53:47,279 INFO [main] logger.type: Client registered with FileSystemMasterClient master @ /1.2.1.10:19998
2016-11-25 10:53:47,308 INFO [main] logger.type: getFileStatus(/tmp/hive)
2016-11-25 10:53:47,311 INFO [main] logger.type: getFileStatus(/tmp/hive/hadoop)
2016-11-25 10:53:47,313 INFO [main] logger.type: getFileStatus(/tmp/hive/hadoop/545b900c-88a4-4951-b406-20e945541cf0)
2016-11-25 10:53:47,400 INFO [main] logger.type: mkdirs(/tmp/hive/hadoop/545b900c-88a4-4951-b406-20e945541cf0, rwx------)
2016-11-25 10:53:47,520 INFO [main] session.SessionState: Created HDFS directory: /tmp/hive/hadoop/545b900c-88a4-4951-b406-20e945541cf0
2016-11-25 10:53:47,520 INFO [main] logger.type: getFileStatus(/tmp/hive/hadoop/545b900c-88a4-4951-b406-20e945541cf0)
2016-11-25 10:53:47,564 INFO [main] session.SessionState: Created local directory: /mnt/tmp/hadoop/545b900c-88a4-4951-b406-20e945541cf0
2016-11-25 10:53:47,565 INFO [main] logger.type: getFileStatus(/tmp/hive/hadoop/545b900c-88a4-4951-b406-20e945541cf0/_tmp_space.db)
2016-11-25 10:53:47,926 INFO [main] logger.type: mkdirs(/tmp/hive/hadoop/545b900c-88a4-4951-b406-20e945541cf0/_tmp_space.db, rwx------)
2016-11-25 10:53:48,046 INFO [main] session.SessionState: Created HDFS directory: /tmp/hive/hadoop/545b900c-88a4-4951-b406-20e945541cf0/_tmp_space.db
2016-11-25 10:53:48,047 INFO [main] logger.type: getFileStatus(/tmp/hive/hadoop/545b900c-88a4-4951-b406-20e945541cf0/_tmp_space.db)
2016-11-25 10:53:48,052 INFO [main] conf.HiveConf: Using the default value passed in for log id: 545b900c-88a4-4951-b406-20e945541cf0
2016-11-25 10:53:48,052 INFO [main] session.SessionState: Updating thread name to 545b900c-88a4-4951-b406-20e945541cf0 main
hive> CREATE EXTERNAL TABLE test3 (c STRING) LOCATION 'alluxio://1.2.1.10:19998/tmp';
2016-11-25 10:54:20,433 INFO [545b900c-88a4-4951-b406-20e945541cf0 main] conf.HiveConf: Using the default value passed in for log id: 545b900c-88a4-4951-b406-20e945541cf0
2016-11-25 10:54:20,487 INFO [545b900c-88a4-4951-b406-20e945541cf0 main] ql.Driver: Compiling command(queryId=hadoop_20161125105420_a9da9c3f-977d-40e7-b5cd-8f12d2831087): CREATE EXTERNAL TABLE test3 (c STRING) LOCATION 'alluxio://
1.2.1.10:19998/tmp'
2016-11-25 10:54:21,552 INFO [545b900c-88a4-4951-b406-20e945541cf0 main] parse.CalcitePlanner: Starting Semantic Analysis
2016-11-25 10:54:21,582 INFO [545b900c-88a4-4951-b406-20e945541cf0 main] parse.CalcitePlanner: Creating table default.test3 position=22
2016-11-25 10:54:21,598 INFO [545b900c-88a4-4951-b406-20e945541cf0 main] logger.type: getWorkingDirectory: /
2016-11-25 10:54:21,651 INFO [545b900c-88a4-4951-b406-20e945541cf0 main] sqlstd.SQLStdHiveAccessController: Created SQLStdHiveAccessController for session context : HiveAuthzSessionContext [sessionString=545b900c-88a4-4951-b406-20e945541cf0, clientType=HIVECLI]
2016-11-25 10:54:21,654 WARN [545b900c-88a4-4951-b406-20e945541cf0 main] session.SessionState: METASTORE_FILTER_HOOK will be ignored, since hive.security.authorization.manager is set to instance of HiveAuthorizerFactory.
2016-11-25 10:54:21,656 INFO [545b900c-88a4-4951-b406-20e945541cf0 main] hive.metastore: Mestastore configuration hive.metastore.filter.hook changed from org.apache.hadoop.hive.metastore.DefaultMetaStoreFilterHookImpl to org.apache.hadoop.hive.ql.security.authorization.plugin.AuthorizationMetaStoreFilterHook
2016-11-25 10:54:21,662 INFO [545b900c-88a4-4951-b406-20e945541cf0 main] hive.metastore: Closed a connection to metastore, current connections: 0
2016-11-25 10:54:21,665 INFO [545b900c-88a4-4951-b406-20e945541cf0 main] hive.metastore: Trying to connect to metastore with URI thrift://ip-10-137-174-224.ec2.internal:9083
2016-11-25 10:54:21,668 INFO [545b900c-88a4-4951-b406-20e945541cf0 main] hive.metastore: Opened a connection to metastore, current connections: 1
2016-11-25 10:54:21,669 INFO [545b900c-88a4-4951-b406-20e945541cf0 main] hive.metastore: Connected to metastore.
2016-11-25 10:54:21,696 INFO [545b900c-88a4-4951-b406-20e945541cf0 main] ql.Driver: Semantic Analysis Completed
2016-11-25 10:54:21,709 INFO [545b900c-88a4-4951-b406-20e945541cf0 main] ql.Driver: Returning Hive schema: Schema(fieldSchemas:null, properties:null)
2016-11-25 10:54:21,734 INFO [545b900c-88a4-4951-b406-20e945541cf0 main] ql.Driver: Completed compiling command(queryId=hadoop_20161125105420_a9da9c3f-977d-40e7-b5cd-8f12d2831087); Time taken: 1.279 seconds
2016-11-25 10:54:21,734 INFO [545b900c-88a4-4951-b406-20e945541cf0 main] ql.Driver: Concurrency mode is disabled, not creating a lock manager
2016-11-25 10:54:21,734 INFO [545b900c-88a4-4951-b406-20e945541cf0 main] ql.Driver: Executing command(queryId=hadoop_20161125105420_a9da9c3f-977d-40e7-b5cd-8f12d2831087): CREATE EXTERNAL TABLE test3 (c STRING) LOCATION 'alluxio://
1.2.1.10:19998/tmp'
2016-11-25 10:54:21,750 INFO [545b900c-88a4-4951-b406-20e945541cf0 main] ql.Driver: Starting task [Stage-0:DDL] in serial mode
2016-11-25 10:54:21,780 INFO [545b900c-88a4-4951-b406-20e945541cf0 main] exec.DDLTask: creating table default.test3 on alluxio://
1.2.1.10:19998/tmp2016-11-25 10:54:22,192 ERROR [545b900c-88a4-4951-b406-20e945541cf0 main] exec.DDLTask: org.apache.hadoop.hive.ql.metadata.HiveException: MetaException(message:Got exception: java.io.IOException No FileSystem for scheme: alluxio)
at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:842)
at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:847)
at org.apache.hadoop.hive.ql.exec.DDLTask.createTable(DDLTask.java:3979)