hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Min Zhou <coderp...@gmail.com>
Subject Re: report a BUG of HiveServer.java
Date Mon, 02 Mar 2009 14:02:43 GMT
oops,  my fault, it should be

if (args.length >= 1) {
        port = Integer.parseInt(args[0]);
      }

The author may have some different intention, I think.

On Mon, Mar 2, 2009 at 9:50 PM, Johan Oskarsson <johan@oskarsson.nu> wrote:

> Hi Min,
>
> please create a JIRA issue for this and attach a patch that solves the
> problem mentioned.
>
> https://issues.apache.org/jira/browse/HIVE
>
> The process to follow is similar to the Hadoop one:
> http://wiki.apache.org/hadoop/HowToContribute
>
> Thanks
>
> /Johan
>
>
> Min Zhou wrote:
> > Hi list,
> > 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.getInteger(args[0]);
> >       }
> >
> >
> > Cheers,
> > Min
> > --
> > My research interests are distributed systems, parallel computing and
> > bytecode based virtual machine.
> >
> > http://coderplay.javaeye.com
>
>


-- 
My research interests are distributed systems, parallel computing and
bytecode based virtual machine.

http://coderplay.javaeye.com

Mime
View raw message