Tuesday, 2018-10-02

*** hoonetorg has quit IRC00:56
*** hoonetorg has joined #openstack-sahara01:10
*** hoonetorg has quit IRC01:49
*** hoonetorg has joined #openstack-sahara02:01
*** dave-mccowan has quit IRC03:07
*** pcaruana has joined #openstack-sahara04:36
*** pcaruana has quit IRC04:43
*** hoonetorg has quit IRC06:36
*** rcernin has quit IRC07:01
*** pcaruana has joined #openstack-sahara07:01
*** tosky has joined #openstack-sahara07:47
openstackgerritLuigi Toscano proposed openstack/sahara-tests master: DNM Test print python version  https://review.openstack.org/60714510:14
*** Bhujay has joined #openstack-sahara12:36
guimaluftosky, tellesnobrega: how could I run spark plugin using vanilla image since hadoop location expected by spark is different then in vanilla?12:48
tellesnobregato run spark plugin you need a spark image12:49
guimalufmy goal is to run spark-bench[https://github.com/CODAIT/spark-bench/] project with sahara, but spark images doesn't fill the requirements for it...12:49
guimaluftellesnobrega, so the best approuch is to build a spark image with my requirements? java8, scala, etc?12:50
tellesnobregaguimaluf, that would be best for sure12:50
tellesnobregait shouldn't be too hard to add those requirements to the image12:50
*** pcaruana has quit IRC12:57
guimaluftellesnobrega, thanks :D13:05
*** pcaruana has joined #openstack-sahara13:27
Gaasmannyou have spark on vanilla image13:48
tellesnobregaguimaluf, that is true. You can run spark on vanilla images, but this is different than starting spark plugin using vanilla image13:57
guimaluftellesnobrega, I know there is spark on vanilla, and I tried to run spark on it. acctualy I tried spark-bench, but I'm getting this error: http://paste.openstack.org/show/731047/14:13
tellesnobregaprobably scala is not installed on the image14:14
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_sahara master: Updated from OpenStack Ansible Tests  https://review.openstack.org/60725414:54
guimaluftellesnobrega, I've included scala into the image, but even thou I can't run it :/15:11
tellesnobregasame error?15:11
guimalufI'll try to build spark image with the requirements I need15:11
guimaluftellesnobrega, yes15:11
guimaluftellesnobrega, with scala 2.12 and 2.11 and without scala, I'm getting the same error15:11
guimalufwhich points me to something related to java not finding scala libs(jars?)15:11
tellesnobregahttps://stackoverflow.com/questions/14417814/why-do-i-get-java-lang-noclassdeffounderror-when-i-trying-to-run-this-code15:12
tellesnobregayou may need to add scala lib to the runtime classpath15:12
guimaluftellesnobrega, I'm using prebuilt spark bench, not building it...15:17
tellesnobregabut I think here you can edit java_classpath15:18
*** dave-mccowan has joined #openstack-sahara15:29
guimaluftellesnobrega, I'd tried to adjust classpath but with no success... but now I could make it work16:09
tellesnobregahow?16:09
*** Bhujay has quit IRC16:12
*** openstackgerrit has quit IRC17:51
guimaluftellesnobrega, java -cp /opt/spark-bench/lib/*:/opt/spark/jars/* com.ibm.sparktc.sparkbench.sparklaunch.SparkLaunch /opt/spark-bench/examples/minimal-example.conf17:56
tellesnobregaI see17:56
*** pcaruana has quit IRC18:02
*** dave-mccowan has quit IRC19:41
*** openstackgerrit has joined #openstack-sahara19:49
openstackgerritLuigi Toscano proposed openstack/sahara master: sahara-image-pack: use curl for tarballs.openstack.org  https://review.openstack.org/60250719:50
*** dave-mccowan has joined #openstack-sahara20:07
*** dave-mccowan has quit IRC20:30
tellesnobregatosky, are you around?20:38
toskytellesnobrega: hi20:39
tellesnobregawe defined the name for the plugins repo to be sahara-<plugin>-plugin right?20:39
toskyuhm, I don't remember; wouldn't it be more consistent to use sahara-plugin-<plugin> ?20:40
tellesnobregacould be20:41
tellesnobregamakes more sense20:41
tellesnobregaabout the folder structure should I keep sahara_plugins/plugins/<plugin> for each of them?20:41
tellesnobregathat eases my work with changing imports20:42
tellesnobregathey would stay the same actually20:42
toskythe internal import inside each plugin, I guess?20:42
tellesnobregayes20:42
toskyup to you - remember that it will be like that forever also for new plugins :)20:43
tellesnobregasince sahara doesn't import from the plugins, I don't this will cause any conflicts20:43
toskyyep20:43
tellesnobregaI can remove the plugins subfolder to makes things simpler20:44
toskybut there is sahara_plugins/plugin and sahara_plugin/tests/unit, right ?20:44
tellesnobregayes20:44
tellesnobregamaybe best to keep the plugins folder as well20:45
tellesnobregasimilar to what we have just change the repo name20:45
GaasmannI'm trying to use EDP with vanilla plugin (2.7.1 on spike). And all the jobs fail with this error20:50
Gaasmannjava.lang.NoClassDefFoundError: Could not initialize class org.apache.hadoop.security.Credentials20:50
Gaasmannseems to come from oozie20:50
tellesnobregaweird, the logs you are looking are from hadoop?20:52
Gaasmannthey are on sahara-engine.log20:53
Gaasmannactually, the oozie web console is broken too20:53
Gaasmannhttp://paste.openstack.org/show/731300/20:54
Gaasmannthe error on sahara-engine.log: http://paste.openstack.org/show/731301/20:56
tellesnobregaGaasmann, I really don't know how to fix this. what kind of job are you trying to run?21:08
Gaasmannjava. In fact I'm trying to run wordcount from hadoop-mapreduce-examples-2.7.5.jar21:28
tellesnobregamaybe the 2.7.5 added some requirements that 2.7.1 do not support21:50
openstackgerritMerged openstack/openstack-ansible-os_sahara master: Updated from OpenStack Ansible Tests  https://review.openstack.org/60725422:35
*** tosky has quit IRC22:41
*** rcernin has joined #openstack-sahara23:59

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!