Can you check what is your METASTORE_PORT? looks like its either empty or
not a number.

Thanks
Best Regards

On Mon, Dec 22, 2014 at 7:50 AM, 李运田 <[email protected]> wrote:

> when I input the “hcat_server.sh start”  command in
> /usr/lib/hive-hcatalog/sbin.I ALWAYS get the error like this. do you have
> the same problem.can you help me  please.谢谢
> [root@pdmdev00 sbin]# hcat_server.sh start
> Started metastore server init, testing if initialized correctly...
> Metastore startup failed, see /var/hive/logs/hcat.err
>
> the error log is:
> Exception in thread "main" java.lang.NumberFormatException: For input
> string: ""
>         at
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>         at java.lang.Integer.parseInt(Integer.java:504)
>         at java.lang.Integer.parseInt(Integer.java:527)
>         at
> org.apache.hadoop.hive.metastore.HiveMetaStore$HiveMetastoreCli.parse(HiveMetaStore.java:4166)
>         at
> org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:4177)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at org.apache.hadoop.util.RunJar.main(RunJar.java:212)

Reply via email to