[ https://issues.apache.org/jira/browse/HIVE-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
bc Wong updated HIVE-1268: -------------------------- Status: Patch Available (was: Open) > Cannot start metastore thrift server on a specific port > ------------------------------------------------------- > > Key: HIVE-1268 > URL: https://issues.apache.org/jira/browse/HIVE-1268 > Project: Hadoop Hive > Issue Type: Bug > Components: Metastore > Reporter: bc Wong > Assignee: bc Wong > Attachments: HIVE-1268-1.patch > > > The code to get the port number is broken. Doh. > {code} > 14:07:55[dsom:dist]$ METASTORE_PORT=12345 bin/hive --service metastore > Starting Hive Metastore Server > Exception in thread "main" java.lang.NullPointerException > at > org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:960) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.util.RunJar.main(RunJar.java:156) > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.