[jira] [Created] (ZEPPELIN-3955) cassandra Interpreter doesn't work due to java.lang.ClassNotFoundException: scala.reflect.internal.Reporter
caedman created ZEPPELIN-3955: - Summary: cassandra Interpreter doesn't work due to java.lang.ClassNotFoundException: scala.reflect.internal.Reporter Key: ZEPPELIN-3955 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3955 Project: Zeppelin Issue Type: Bug Environment: ubuntu 18.0 zeppelin {color:#4c555a} {color}*0.8.0* Reporter: caedman Attachments: Screenshot from 2019-01-19 11-50-45.png, Screenshot from 2019-01-19 11-51-03.png after i install interpreter, and run %cassandra ESCRIBE KEYSPACE the following error throws java.lang.ClassNotFoundException: scala.reflect.internal.Reporter at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:763) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:467) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:368) at java.net.URLClassLoader$1.run(URLClassLoader.java:362) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:361) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.fusesource.scalate.support.ScalaCompiler$.create(ScalaCompiler.scala:42) at org.fusesource.scalate.TemplateEngine.createCompiler(TemplateEngine.scala:231) at org.fusesource.scalate.TemplateEngine.compiler$lzycompute(TemplateEngine.scala:221) at org.fusesource.scalate.TemplateEngine.compiler(TemplateEngine.scala:221) at org.fusesource.scalate.TemplateEngine.compileAndLoad(TemplateEngine.scala:757) at org.fusesource.scalate.TemplateEngine.compileAndLoadEntry(TemplateEngine.scala:699) at org.fusesource.scalate.TemplateEngine.liftedTree1$1(TemplateEngine.scala:419) at org.fusesource.scalate.TemplateEngine.load(TemplateEngine.scala:413) at org.fusesource.scalate.TemplateEngine.load(TemplateEngine.scala:471) at org.fusesource.scalate.TemplateEngine.layout(TemplateEngine.scala:573) at org.apache.zeppelin.cassandra.DisplaySystem$NoResultDisplay$.(DisplaySystem.scala:369) at org.apache.zeppelin.cassandra.DisplaySystem$NoResultDisplay$.(DisplaySystem.scala) at org.apache.zeppelin.cassandra.EnhancedSession.(EnhancedSession.scala:40) at org.apache.zeppelin.cassandra.InterpreterLogic.(InterpreterLogic.scala:98) at org.apache.zeppelin.cassandra.CassandraInterpreter.open(CassandraInterpreter.java:231) at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:69) at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:617) at org.apache.zeppelin.scheduler.Job.run(Job.java:188) at org.apache.zeppelin.scheduler.ParallelScheduler$JobRunner.run(ParallelScheduler.java:162) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] maziyarpanahi edited a comment on issue #3206: [ZEPPELIN-3810] Support Spark 2.4
maziyarpanahi edited a comment on issue #3206: [ZEPPELIN-3810] Support Spark 2.4 URL: https://github.com/apache/zeppelin/pull/3206#issuecomment-455617293 @HyukjinKwon @zjffdu @Leemoonsoo is it possible to shade Spark and Hadoop related dependencies when there is already Spark and Hadoop exist? I was thinking to avoid situations like this, to have a type of build where it shades all the deps for users with Spark and Hadoop. Do you think this could work? This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[jira] [Created] (ZEPPELIN-3954) Use "kubectl create -f" instead of "kubectl apply -f"
Lee moon soo created ZEPPELIN-3954: -- Summary: Use "kubectl create -f" instead of "kubectl apply -f" Key: ZEPPELIN-3954 URL: https://issues.apache.org/jira/browse/ZEPPELIN-3954 Project: Zeppelin Issue Type: Improvement Components: Kubernetes Reporter: Lee moon soo Use "kubectl create -f" instead of "kubectl apply -f" on creating interpreter pod. Possible problem explained in [this comment|https://github.com/apache/zeppelin/pull/3240#discussion_r248567845]. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] Leemoonsoo commented on a change in pull request #3240: [ZEPPELIN-3840] Zeppelin on Kubernetes
Leemoonsoo commented on a change in pull request #3240: [ZEPPELIN-3840] Zeppelin on Kubernetes URL: https://github.com/apache/zeppelin/pull/3240#discussion_r249117176 ## File path: zeppelin-plugins/launcher/k8s-standard/src/main/java/org/apache/zeppelin/interpreter/launcher/Kubectl.java ## @@ -0,0 +1,157 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + *http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.zeppelin.interpreter.launcher; + +import com.google.common.annotations.VisibleForTesting; +import com.google.gson.Gson; +import java.util.ArrayList; +import java.util.Arrays; + +import org.apache.commons.exec.*; +import org.apache.commons.io.IOUtils; + +import java.io.*; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public class Kubectl { + private final Logger LOGGER = LoggerFactory.getLogger(Kubectl.class); + private final String kubectlCmd; + private final Gson gson = new Gson(); + private String namespace; + + public Kubectl(String kubectlCmd) { +this.kubectlCmd = kubectlCmd; + } + + /** + * Override namespace. Otherwise use namespace provided in schema + * @param namespace + */ + public void setNamespace(String namespace) { +this.namespace = namespace; + } + + public String getNamespace() { +return namespace; + } + + public String apply(String spec) throws IOException { +return execAndGet(new String[]{"apply", "-f", "-"}, spec); Review comment: Created https://issues.apache.org/jira/browse/ZEPPELIN-3954. I'll follow up this issue. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] maziyarpanahi commented on issue #3206: [ZEPPELIN-3810] Support Spark 2.4
maziyarpanahi commented on issue #3206: [ZEPPELIN-3810] Support Spark 2.4 URL: https://github.com/apache/zeppelin/pull/3206#issuecomment-455617293 @HyukjinKwon @zjffdu is it possible to shade Spark and Hadoop related dependencies when there is already Spark and Hadoop exist? I was thinking to avoid situations like this, to have a type of build where it shades all the deps for users with Spark and Hadoop. Do you think this could work? This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] asfgit closed pull request #3240: [ZEPPELIN-3840] Zeppelin on Kubernetes
asfgit closed pull request #3240: [ZEPPELIN-3840] Zeppelin on Kubernetes URL: https://github.com/apache/zeppelin/pull/3240 This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] ajaygk95 commented on a change in pull request #3240: [ZEPPELIN-3840] Zeppelin on Kubernetes
ajaygk95 commented on a change in pull request #3240: [ZEPPELIN-3840] Zeppelin on Kubernetes URL: https://github.com/apache/zeppelin/pull/3240#discussion_r249025462 ## File path: zeppelin-plugins/launcher/k8s-standard/src/main/java/org/apache/zeppelin/interpreter/launcher/Kubectl.java ## @@ -0,0 +1,157 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + *http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.zeppelin.interpreter.launcher; + +import com.google.common.annotations.VisibleForTesting; +import com.google.gson.Gson; +import java.util.ArrayList; +import java.util.Arrays; + +import org.apache.commons.exec.*; +import org.apache.commons.io.IOUtils; + +import java.io.*; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public class Kubectl { + private final Logger LOGGER = LoggerFactory.getLogger(Kubectl.class); + private final String kubectlCmd; + private final Gson gson = new Gson(); + private String namespace; + + public Kubectl(String kubectlCmd) { +this.kubectlCmd = kubectlCmd; + } + + /** + * Override namespace. Otherwise use namespace provided in schema + * @param namespace + */ + public void setNamespace(String namespace) { +this.namespace = namespace; + } + + public String getNamespace() { +return namespace; + } + + public String apply(String spec) throws IOException { +return execAndGet(new String[]{"apply", "-f", "-"}, spec); Review comment: Okay This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] ajaygk95 commented on a change in pull request #3240: [ZEPPELIN-3840] Zeppelin on Kubernetes
ajaygk95 commented on a change in pull request #3240: [ZEPPELIN-3840] Zeppelin on Kubernetes URL: https://github.com/apache/zeppelin/pull/3240#discussion_r249025462 ## File path: zeppelin-plugins/launcher/k8s-standard/src/main/java/org/apache/zeppelin/interpreter/launcher/Kubectl.java ## @@ -0,0 +1,157 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + *http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.zeppelin.interpreter.launcher; + +import com.google.common.annotations.VisibleForTesting; +import com.google.gson.Gson; +import java.util.ArrayList; +import java.util.Arrays; + +import org.apache.commons.exec.*; +import org.apache.commons.io.IOUtils; + +import java.io.*; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public class Kubectl { + private final Logger LOGGER = LoggerFactory.getLogger(Kubectl.class); + private final String kubectlCmd; + private final Gson gson = new Gson(); + private String namespace; + + public Kubectl(String kubectlCmd) { +this.kubectlCmd = kubectlCmd; + } + + /** + * Override namespace. Otherwise use namespace provided in schema + * @param namespace + */ + public void setNamespace(String namespace) { +this.namespace = namespace; + } + + public String getNamespace() { +return namespace; + } + + public String apply(String spec) throws IOException { +return execAndGet(new String[]{"apply", "-f", "-"}, spec); Review comment: Okay... Thanks This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] ajaygk95 commented on a change in pull request #3240: [ZEPPELIN-3840] Zeppelin on Kubernetes
ajaygk95 commented on a change in pull request #3240: [ZEPPELIN-3840] Zeppelin on Kubernetes URL: https://github.com/apache/zeppelin/pull/3240#discussion_r249025339 ## File path: zeppelin-plugins/launcher/k8s-standard/src/main/java/org/apache/zeppelin/interpreter/launcher/Kubectl.java ## @@ -0,0 +1,157 @@ +/* Review comment: Okay. Sure This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services