I think, 0.94 is compiled against hadoop1. So, try sqlline under hadoop1 dir. 

On Wednesday, November 19, 2014, Komal Thombare <komal.thombare@tcs.com> wrote:
Hi Krishna,

working under hadoop2 dir.

Thanks and Regards
Komal Ravindra Thombare

-----Krishna <research800@gmail.com> wrote: -----
To: "user@phoenix.apache.org" <user@phoenix.apache.org>
From: Krishna <research800@gmail.com>
Date: 11/20/2014 11:55AM
Subject: Re: Phoenix With CDH

Are you executing sqlline under hadoop1 or hadoop2 dir?


On Wednesday, November 19, 2014, Komal Thombare <komal.thombare@tcs.com> wrote:
Hi,

When trying to start sqlline it gives error:

Exception in thread "main" java.lang.NoClassDefFoundError: sqlline/SqlLine
Caused by: java.lang.ClassNotFoundException: sqlline.SqlLine
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
Could not find the main class: sqlline.SqlLine. Program will exit.


Thanks and Regards,
Komal Ravindra Thombare



-----Komal Thombare/MUM/TCS wrote: -----
To: user@phoenix.apache.org
From: Komal Thombare/MUM/TCS
Date: 11/20/2014 11:46AM
Subject: Phoenix With CDH

Hi,

Does any one tried Phoenix with CDH versions of Hadoop and Hbase.

Phoenix: phoenix-3.2.0-bin
Hadoop: hadoop-2.0.0-cdh4.0.1
Hbas: hbase-0.94.6-cdh4.3.0

Thanks and Regards,
Komal Ravindra Thombare

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you