2 woshiqianqu woshiqianqu 于 2016.05.11 11:40 提问

impala catalog起不来 报错如下

log4j:WARN No appenders could be found for logger (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
E0511 11:33:51.635500 13048 catalog.cc:66] java.lang.IllegalStateException: java.lang.NumberFormatException: For input string: "0s"
at com.cloudera.impala.catalog.MetaStoreClientPool$MetaStoreClient.(MetaStoreClientPool.java:59)
at com.cloudera.impala.catalog.MetaStoreClientPool$MetaStoreClient.(MetaStoreClientPool.java:49)
at com.cloudera.impala.catalog.MetaStoreClientPool.addClients(MetaStoreClientPool.java:116)
at com.cloudera.impala.catalog.Catalog.(Catalog.java:89)
at com.cloudera.impala.catalog.CatalogServiceCatalog.(CatalogServiceCatalog.java:102)
at com.cloudera.impala.service.JniCatalog.(JniCatalog.java:78)
Caused by: java.lang.NumberFormatException: For input string: "0s"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:441)
at java.lang.Long.parseLong(Long.java:483)
at org.apache.hadoop.conf.Configuration.getLong(Configuration.java:1113)
at org.apache.hadoop.hive.conf.HiveConf.getLongVar(HiveConf.java:913)
at org.apache.hadoop.hive.conf.HiveConf.getLongVar(HiveConf.java:926)
at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.init(HiveMetaStore.java:351)
at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.(HiveMetaStore.java:289)
at org.apache.hadoop.hive.metastore.RetryingHMSHandler.(RetryingHMSHandler.java:56)
at org.apache.hadoop.hive.metastore.RetryingHMSHandler.getProxy(RetryingHMSHandler.java:61)
at org.apache.hadoop.hive.metastore.HiveMetaStore.newHMSHandler(HiveMetaStore.java:4014)
at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.(HiveMetaStoreClient.java:120)
at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.(HiveMetaStoreClient.java:103)
at com.cloudera.impala.catalog.MetaStoreClientPool$MetaStoreClient.(MetaStoreClientPool.java:56)
... 5 more

1个回答

silehaixianghuirenj
silehaixianghuirenj   2016.10.08 01:25

51.635500 13048 catalog.cc:66] java.lang.IllegalStateException: java.lang.NumberFormatException: For input string: "0s"
at com.cloudera.impala.catalog.MetaStoreClientPool$MetaStoreClient.(MetaStoreClientPool.java:59)
at com.cloudera.impala.catalog.MetaStoreClientPool$MetaStoreClient.(MetaStoreClientPool.java:49)
at com.cloudera.impala.catalog.MetaStoreClientPool.addClients(MetaStoreClientPool.java:116)
at com.cloudera.impala.catalog.Catalog.(Catalog.java:89)
at com.cloudera.impala.catalog.CatalogServiceCatalog.(CatalogServiceCatalog.java:102)
at com.cloudera.impala.service.JniCatalog.(JniCatalog.java:78)
Caused by: java.lang.NumberFormatException: For input string: "0s"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:441)
at java.lang.Long.parseLong(Long.java:483)
at org.apache.hadoop.conf.Configuration.getLong(Configuration.java:1113)
at org.apache.hadoop.hive.conf.HiveConf.getLongVar(HiveConf.java:913)
at org.apache.hadoop.hive.conf.HiveConf.getLongVar(HiveConf.java:926)
at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.init(HiveMetaStore.java:351)
at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.(HiveMetaStore.java:289)
at org.apache.hadoop.hive.metastore.RetryingHMSHandler.(RetryingHMSHandler.java:56)
at org.apache.hadoop.hive.metastore.RetryingHMSHandler.getProxy(RetryingHMSHandler.java:61)
at org.apache.hadoop.hive.metastore.HiveMetaStore.newHMSHandler(HiveMetaStore.java:4014)
at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.(HiveMet

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!