[
https://issues.apache.org/jira/browse/GORA-243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13684845#comment-13684845
]
Apostolos Giannakidis commented on GORA-243:
--------------------------------------------
Great! My first commit to the project! :)
> Properly escaping spaces of GORA_HOME in bin/gora
> -------------------------------------------------
>
> Key: GORA-243
> URL: https://issues.apache.org/jira/browse/GORA-243
> Project: Apache Gora
> Issue Type: Bug
> Environment: Mac OS X v.10.8.3
> Java v.1.7.0_17
> Reporter: Apostolos Giannakidis
> Assignee: Apostolos Giannakidis
> Priority: Minor
> Labels: bin/gora, escape, path, space
> Fix For: 0.4
>
> Attachments: GORA-243.patch
>
>
> When executing bin/gora in a folder that contains space(s) it fails with the
> following exception:
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/avro/Schema
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2451)
> at java.lang.Class.getMethod0(Class.java:2694)
> at java.lang.Class.getMethod(Class.java:1622)
> at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
> at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
> Caused by: java.lang.ClassNotFoundException: org.apache.avro.Schema
> at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
> ... 6 more
> The problem is the mishandling of spaces when building the CLASSPATH in
> bin/gora.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira