You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ning Zhang (JIRA)" <ji...@apache.org> on 2010/01/12 20:40:54 UTC
[jira] Commented: (HIVE-550) Hiveserver should use a default port
if not specified
[ https://issues.apache.org/jira/browse/HIVE-550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799346#action_12799346 ]
Ning Zhang commented on HIVE-550:
---------------------------------
This issue was already fixed by 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
> 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.