Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

sudo-less mode doesn't work #7

Open
hercynium opened this issue Jun 30, 2013 · 1 comment
Open

sudo-less mode doesn't work #7

hercynium opened this issue Jun 30, 2013 · 1 comment
Assignees
Labels

Comments

@hercynium
Copy link
Contributor

Another issue reported by Antonisamy Arokiasamy (thanks!) 馃憤

Thanks for the quick response... I seem to run into more issues.

a) The path to my hadoop is actually /usr/local/Cellar/hadoop/1.1.1/libexec/bin/hadoop. The 1.1.1 seems to be replaced with 1/1/1
b) I though you mentioned no sudo is required. I dont have ldap and tried commenting out frontend_auth and also frontend_auth: "none".

Sorry my perl is bad, so unable to debug it myself.

Podadai:hive-query-tool Antony$ ./start-backend
Found perl 5.12.4 at /usr/bin/perl
Setting up extlib dir in [/Users/Antony/Documents/Development/Agilone/hive-query-tool/.extlib/perl-5.12.4]
Setting symlink [/Users/Antony/Documents/Development/Agilone/hive-query-tool/extlib] to [/Users/Antony/Documents/Development/Agilone/hive-query-tool/.extlib/perl-5.12.4]
Updating extlib build info
Checking dependency installation toolchain
Setting perl env for libs under [/Users/Antony/Documents/Development/Agilone/hive-query-tool/extlib]
Making sure all dependencies are installed
Done!
Listening on port 9090...
Warning: $HADOOP_HOME is deprecated.

Exception in thread "main" java.lang.NoClassDefFoundError: /usr/local/Cellar/hadoop/1/1/1/libexec/bin/hadoop
Caused by: java.lang.ClassNotFoundException: .usr.local.Cellar.hadoop.1.1.1.libexec.bin.hadoop
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)
unhandled callback exception on event (/create-job, AnyEvent::HTTPD=HASH(0x7fc1f6088640), AnyEvent::HTTPD::Request=HASH(0x7fc1f60a6b90)): "sudo" unexpectedly returned exit value 1 at ./script/hivecli-server.pl line 134

@ghost ghost assigned hercynium Jun 30, 2013
@hercynium
Copy link
Contributor Author

I've just pushed commit b78ac9d which should fix issue "b" from Antony's email.

Issue "a" is being investigated since I do not think it is being caused by code in the HQT, but could probably be fixed with a reasonable work-around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant