hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Thusoo (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-317) HiveServer can not define its port correctly
Date Wed, 18 Mar 2009 17:59:50 GMT

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

Ashish Thusoo updated HIVE-317:
-------------------------------

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

committed. Thanks Min!!

> HiveServer can not define its port  correctly
> ---------------------------------------------
>
>                 Key: HIVE-317
>                 URL: https://issues.apache.org/jira/browse/HIVE-317
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Server Infrastructure
>    Affects Versions: 0.3.0
>            Reporter: Min Zhou
>            Assignee: Min Zhou
>             Fix For: 0.3.0
>
>         Attachments: hiveserver.patch
>
>
> HiveServer.java accept one argument stands for the port of  this server,  but I found
that can not accept this argument.
> By digging into the source code, I found it may caused by these lines of main function.
> if (args.length > 1) {
>         port = Integer.getInteger(args[0]);
>       }
> I think they should be: 
> if (args.length >= 1) {
>         port = Integer.parseInt(args[0]);
>       }
> The author may have some different intention,  I think.  

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