You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Gabriel Reid (JIRA)" <ji...@apache.org> on 2014/03/16 08:20:47 UTC

[jira] [Resolved] (PHOENIX-602) Phoenix client jar path is wrong in sqllish.sh

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

Gabriel Reid resolved PHOENIX-602.
----------------------------------

    Resolution: Fixed

Bulk resolve of closed issues imported from GitHub. This status was reached by first re-opening all closed imported issues and then resolving them in bulk.

> Phoenix client jar path is wrong in sqllish.sh
> ----------------------------------------------
>
>                 Key: PHOENIX-602
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-602
>             Project: Phoenix
>          Issue Type: Task
>            Reporter: chrajeshbabu
>
> client jar path is target directory in phoenix home which will not present in build.  We need to make this phoenix home where jars available.
> current_dir=$(cd $(dirname $0);pwd)
> phoenix_jar_path="$current_dir/../target"
> phoenix_client_jar=$(find $phoenix_jar_path/phoenix-*-client.jar)
> HOST-10-18-40-93:/home/rajeshbabu/phoenix-2.0.1/bin _ ./sqlline.sh 10.18.40.47
> find: `/home/rajeshbabu/phoenix/basicphoenix/phoenix-2.0.1/bin/../target': No such file or directory
> Exception in thread "main" java.lang.NoClassDefFoundError: sqlline/SqlLine
> Caused by: java.lang.ClassNotFoundException: sqlline.SqlLine
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: sqlline.SqlLine.  Program will exit.
> Seen this in phoenix-2.0.1 even master branch also have this problem.



--
This message was sent by Atlassian JIRA
(v6.2#6252)