You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "bc Wong (JIRA)" <ji...@apache.org> on 2010/03/22 22:21:27 UTC

[jira] Created: (HIVE-1268) Cannot start metastore thrift server on a specific port

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


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.


[jira] Updated: (HIVE-1268) Cannot start metastore thrift server on a specific port

Posted by "bc Wong (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

bc Wong updated HIVE-1268:
--------------------------

    Attachment: HIVE-1268-1.patch

> 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.


[jira] Updated: (HIVE-1268) Cannot start metastore thrift server on a specific port

Posted by "Namit Jain (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Namit Jain updated HIVE-1268:
-----------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

Committed. Thanks bc Wong

> 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.


[jira] Commented: (HIVE-1268) Cannot start metastore thrift server on a specific port

Posted by "Paul Yang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848838#action_12848838 ] 

Paul Yang commented on HIVE-1268:
---------------------------------

Looks good +1

Tested on port 12345

{code}
METASTORE_PORT=12345 hive --service metastore
Starting Hive Metastore Server
10/03/23 11:30:45 INFO metastore.HiveMetaStore: Started the new metaserver on port [12345]...
10/03/23 11:30:45 INFO metastore.HiveMetaStore: Options.minWorkerThreads = 200
10/03/23 11:30:45 INFO metastore.HiveMetaStore: Options.maxWorkerThreads = 2147483647
10/03/23 11:30:52 INFO metastore.HiveMetaStore: 0: get_table : db=default tbl=tmp_pyang_t
10/03/23 11:30:52 INFO metastore.HiveMetaStore: 0: Opening raw store with implemenation class:org.apache.hadoop.hive.metastore.ObjectStore
{code}

> 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.


[jira] Updated: (HIVE-1268) Cannot start metastore thrift server on a specific port

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-1268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Steinbach updated HIVE-1268:
---------------------------------

    Fix Version/s: 0.6.0

> 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
>             Fix For: 0.6.0
>
>         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.


[jira] Updated: (HIVE-1268) Cannot start metastore thrift server on a specific port

Posted by "bc Wong (JIRA)" <ji...@apache.org>.
     [ 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.