hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ning Zhang (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HIVE-550) Hiveserver should use a default port if not specified
Date Tue, 12 Jan 2010 19:40:54 GMT

     [ https://issues.apache.org/jira/browse/HIVE-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ning Zhang resolved HIVE-550.
-----------------------------

    Resolution: Duplicate
      Assignee: Ning Zhang

Mark it as duplicate of HIVE-941. 

> Hiveserver should use a default port if not specified
> -----------------------------------------------------
>
>                 Key: HIVE-550
>                 URL: https://issues.apache.org/jira/browse/HIVE-550
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Server Infrastructure
>    Affects Versions: 0.4.0
>            Reporter: Eric Hwang
>            Assignee: Ning Zhang
>            Priority: Minor
>             Fix For: 0.4.2
>
>
> When launched without a port number, hiveserver throws the following java error:
> $ ./hive --service hiveserver
> Starting Hive Thrift Server
> java.lang.NumberFormatException: For input string: "-hiveconf"
>         at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>         at java.lang.Integer.parseInt(Integer.java:447)
>         at java.lang.Integer.parseInt(Integer.java:497)
>         at org.apache.hadoop.hive.service.HiveServer.main(HiveServer.java:204)
>         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:166)
>         at org.apache.hadoop.mapred.JobShell.run(JobShell.java:194)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
>         at org.apache.hadoop.mapred.JobShell.main(JobShell.java:220)
> Ideally the code should choose a default port or at least put up an appropriate error
message.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message