hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: In Windows, cannot capture HBase prompt('hbase(main):001:0>') from neither standard output nor standard error using process API
Date Thu, 13 Aug 2015 22:30:42 GMT
I think Dinesh was referring to:
http://docs.oracle.com/javase/7/docs/api/java/lang/Process.html

Cheers

On Thu, Aug 13, 2015 at 3:23 PM, Nick Dimiduk <ndimiduk@gmail.com> wrote:

> dev to bcc
>
> Hi Dinesh,
>
> I'm not sure what you mean by "process API". Are you launching the hbase
> shell as an external process? Would be better to use an HBase client. We
> have a nice one in Java. We also have REST and Thrift gateways, which are
> launched as separate processes. There's also Apache Phoenix, which will
> give you JDBC access to HBase, though again, it's Java only at this point.
> Maybe one of these will work for you?
>
> Good luck,
> -n
>
>
> http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/package-summary.html#package_description
>
> http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/rest/package-summary.html
>
> http://hbase.apache.org/apidocs/org/apache/hadoop/hbase/thrift/package-summary.html
> http://phoenix.apache.org
>
> On Thu, Aug 13, 2015 at 4:39 AM, <dinuswt22@gmail.com> wrote:
>
> > I have configured HBase(hbase-0.98.13-hadoop2-bin.tar) in windows. It
> > works well when started as shell in cmd.exe;
> >
> >
> > When I try to run HBase through Process api in c# or java, hbase
> > prompt('hbase(main):001:0>') is not received, but I could able to run
> HBase
> > shell, execute commands and receive error/output for the same;
> >
> >
> > Only thing is I am unable to get HBase prompt('hbase(main):001:0>');
> > Please suggest the correct way.
> >
> >
> > Thanks,
> >
> > Dinesh Kumar P
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message