You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@phoenix.apache.org by Jean-Marc Spaggiari <je...@spaggiari.org> on 2014/08/26 18:27:45 UTC
First steps: Could not find or load main class sqlline.SqlLine
Hi,
I build and installed Hadoop+HBase+Phoenix successfuly with BigTop. Hadoop
works well, HBase too. Now it's time for Phoenix.
>From the Getting Started guide here
http://phoenix.apache.org/download.html#Installation I tried to run
/usr/lib/phoenix/bin/sqlline.py localhost
However, I get the following error:
Error: Could not find or load main class sqlline.SqlLine
Any idea where this sqlline.SqlLine is supposed to be?
Thanks,
JM
Re: First steps: Could not find or load main class sqlline.SqlLine
Posted by James Taylor <ja...@apache.org>.
We plan to use the same 4.0 branch for all 4.x releases. Folks have
pointed out that it's somewhat confusing to have the 4.1 release from
the 4.0 branch, so we plan to rename the 4.0 branch to branch-4 and
the 3.0 branch to branch-3.
Thanks,
James
On Tue, Aug 26, 2014 at 5:11 PM, Jean-Marc Spaggiari
<je...@spaggiari.org> wrote:
> Hi James,
>
> I can see 4.0.1 and 4.0, but not 4.1. Which branch will be used for 4.1?
> Will it be from 4.0.1?
>
> Thanks,
>
> JM
>
>
> 2014-08-26 19:54 GMT-04:00 James Taylor <ja...@apache.org>:
>
>> Thanks, JM. It'd be great to have support for Phoenix 4.1 once it's
>> officially released (hopefully in a few days if the RC holds up).
>>
>>
>> On Tue, Aug 26, 2014 at 4:46 PM, Jean-Marc Spaggiari
>> <je...@spaggiari.org> wrote:
>> > I faced this and also, BigTop doesn't compile against Phoenix 4.0.1. And
>> > Phoenix 4.0 has an hbase-default.xml issue with Hadoop 2.0. Had to do
>> > some
>> > manual stuff to fix that.
>> >
>> > I will move on the BigTop list and open the required JIRAs.
>> >
>> >
>> > 2014-08-26 19:31 GMT-04:00 Andrew Purtell <ap...@apache.org>:
>> >
>> >>
>> >> On Tue, Aug 26, 2014 at 9:40 AM, Jean-Marc Spaggiari
>> >> <je...@spaggiari.org> wrote:
>> >>>
>> >>> Ok. Looked into sqlline.py code, exported PHOENIX_LIB_DIR to the right
>> >>> directory, and it now works...
>> >>
>> >>
>> >> You were using the Bigtop package? Please consider filing a Bigtop
>> >> JIRA.
>> >>
>> >>
>> >>
>> >> --
>> >> Best regards,
>> >>
>> >> - Andy
>> >>
>> >> Problems worthy of attack prove their worth by hitting back. - Piet
>> >> Hein
>> >> (via Tom White)
>> >
>> >
>
>
Re: First steps: Could not find or load main class sqlline.SqlLine
Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Hi James,
I can see 4.0.1 and 4.0, but not 4.1. Which branch will be used for 4.1?
Will it be from 4.0.1?
Thanks,
JM
2014-08-26 19:54 GMT-04:00 James Taylor <ja...@apache.org>:
> Thanks, JM. It'd be great to have support for Phoenix 4.1 once it's
> officially released (hopefully in a few days if the RC holds up).
>
>
> On Tue, Aug 26, 2014 at 4:46 PM, Jean-Marc Spaggiari
> <je...@spaggiari.org> wrote:
> > I faced this and also, BigTop doesn't compile against Phoenix 4.0.1. And
> > Phoenix 4.0 has an hbase-default.xml issue with Hadoop 2.0. Had to do
> some
> > manual stuff to fix that.
> >
> > I will move on the BigTop list and open the required JIRAs.
> >
> >
> > 2014-08-26 19:31 GMT-04:00 Andrew Purtell <ap...@apache.org>:
> >
> >>
> >> On Tue, Aug 26, 2014 at 9:40 AM, Jean-Marc Spaggiari
> >> <je...@spaggiari.org> wrote:
> >>>
> >>> Ok. Looked into sqlline.py code, exported PHOENIX_LIB_DIR to the right
> >>> directory, and it now works...
> >>
> >>
> >> You were using the Bigtop package? Please consider filing a Bigtop JIRA.
> >>
> >>
> >>
> >> --
> >> Best regards,
> >>
> >> - Andy
> >>
> >> Problems worthy of attack prove their worth by hitting back. - Piet Hein
> >> (via Tom White)
> >
> >
>
Re: First steps: Could not find or load main class sqlline.SqlLine
Posted by James Taylor <ja...@apache.org>.
Thanks, JM. It'd be great to have support for Phoenix 4.1 once it's
officially released (hopefully in a few days if the RC holds up).
On Tue, Aug 26, 2014 at 4:46 PM, Jean-Marc Spaggiari
<je...@spaggiari.org> wrote:
> I faced this and also, BigTop doesn't compile against Phoenix 4.0.1. And
> Phoenix 4.0 has an hbase-default.xml issue with Hadoop 2.0. Had to do some
> manual stuff to fix that.
>
> I will move on the BigTop list and open the required JIRAs.
>
>
> 2014-08-26 19:31 GMT-04:00 Andrew Purtell <ap...@apache.org>:
>
>>
>> On Tue, Aug 26, 2014 at 9:40 AM, Jean-Marc Spaggiari
>> <je...@spaggiari.org> wrote:
>>>
>>> Ok. Looked into sqlline.py code, exported PHOENIX_LIB_DIR to the right
>>> directory, and it now works...
>>
>>
>> You were using the Bigtop package? Please consider filing a Bigtop JIRA.
>>
>>
>>
>> --
>> Best regards,
>>
>> - Andy
>>
>> Problems worthy of attack prove their worth by hitting back. - Piet Hein
>> (via Tom White)
>
>
Re: First steps: Could not find or load main class sqlline.SqlLine
Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
I faced this and also, BigTop doesn't compile against Phoenix 4.0.1. And
Phoenix 4.0 has an hbase-default.xml issue with Hadoop 2.0. Had to do some
manual stuff to fix that.
I will move on the BigTop list and open the required JIRAs.
2014-08-26 19:31 GMT-04:00 Andrew Purtell <ap...@apache.org>:
>
> On Tue, Aug 26, 2014 at 9:40 AM, Jean-Marc Spaggiari <
> jean-marc@spaggiari.org> wrote:
>
>> Ok. Looked into sqlline.py code, exported PHOENIX_LIB_DIR to the right
>> directory, and it now works...
>>
>
> You were using the Bigtop package? Please consider filing a Bigtop JIRA.
>
>
>
> --
> Best regards,
>
> - Andy
>
> Problems worthy of attack prove their worth by hitting back. - Piet Hein
> (via Tom White)
>
Re: First steps: Could not find or load main class sqlline.SqlLine
Posted by Andrew Purtell <ap...@apache.org>.
On Tue, Aug 26, 2014 at 9:40 AM, Jean-Marc Spaggiari <
jean-marc@spaggiari.org> wrote:
> Ok. Looked into sqlline.py code, exported PHOENIX_LIB_DIR to the right
> directory, and it now works...
>
You were using the Bigtop package? Please consider filing a Bigtop JIRA.
--
Best regards,
- Andy
Problems worthy of attack prove their worth by hitting back. - Piet Hein
(via Tom White)
Re: First steps: Could not find or load main class sqlline.SqlLine
Posted by Jean-Marc Spaggiari <je...@spaggiari.org>.
Ok. Looked into sqlline.py code, exported PHOENIX_LIB_DIR to the right
directory, and it now works...
Just posting here in case someone face the same issue.
JM
2014-08-26 12:27 GMT-04:00 Jean-Marc Spaggiari <je...@spaggiari.org>:
> Hi,
>
> I build and installed Hadoop+HBase+Phoenix successfuly with BigTop. Hadoop
> works well, HBase too. Now it's time for Phoenix.
>
> From the Getting Started guide here
> http://phoenix.apache.org/download.html#Installation I tried to run
> /usr/lib/phoenix/bin/sqlline.py localhost
>
> However, I get the following error:
> Error: Could not find or load main class sqlline.SqlLine
>
> Any idea where this sqlline.SqlLine is supposed to be?
>
> Thanks,
>
> JM
>