Member since
06-09-2016
185
Posts
22
Kudos Received
5
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2180 | 04-21-2017 07:57 AM | |
1356 | 04-18-2017 07:07 AM | |
3234 | 02-27-2017 05:41 AM | |
905 | 12-09-2016 11:05 AM | |
1270 | 11-24-2016 11:20 AM |
04-05-2017
05:44 AM
I had the same issue, increasing the heap space for HDFS helped. Also apparently a reboot was required to disable selinux - as the command sestatus was showing enabled.
... View more
03-30-2017
10:40 AM
Hi @Tom McCuch Great article, I have one question - when we say "ARCHIVE, which has high storage density (petabyte of storage) but little compute power" Is its a different kind of HDD - can you please give examples how it is different from the regular HDD. Thanks, Avijeet
... View more
03-08-2017
08:32 AM
Hi, It worked after I added imports again in the script. Thanks, Avijeet
... View more
03-06-2017
06:08 AM
Hi @Artem Ervits I am getting below error now - which class is it complaining about SparkConf OR StremingContext OR TwitterUtils ? import org.apache.spark._
import org.apache.spark.streaming._
import org.apache.spark.streaming.twitter._
import org.apache.spark.storage.StorageLevel
import scala.io.Source
import scala.collection.mutable.HashMap
import java.io.File
import org.apache.log4j.Logger
import org.apache.log4j.Level
import sys.process.stringSeqToProcess
<console>:40: error: not found: type SparkConf
val conf = new SparkConf().setAppName("avi_twitter").setMaster("local")
^
<console>:41: error: not found: type StreamingContext
val ssc = new StreamingContext(conf, Seconds(2))
^
<console>:42: error: not found: value TwitterUtils
val tweets = TwitterUtils.createStream(ssc, None, Array("#hadoop", "#bigdata", "#spark", "#hortonworks", "#HDP"))
... View more
03-02-2017
08:34 AM
Hi All, I tried this again with a new zeppelin instance - I can see the Jars getting added in log still I get the same error <console>:44: error: not found: type StreamingContext
val ssc = new StreamingContext(sc, Seconds(2)) Logs (I have masked the ip address) -------- a-support-3.0.3.jar with timestamp 1488442845223 INFO [2017-03-02 08:20:45,225] ({pool-2-thread-3} SparkInterpreter.java[open]:684) - sc.addJar(/usr/hdp/current/zeppelin-server/local-repo/org/twitter4j/twitter4j-media-support/3.0.3/twitter4j-media-support-3.0.3.jar) INFO [2017-03-02 08:20:45,227] ({pool-2-thread-3} Logging.scala[logInfo]:58) - Added JAR /usr/hdp/current/zeppelin-server/local-repo/org/twitter4j/twitter4j-stream/3.0.3/twitter4j-stream-3.0.3.jar at http://000.000.0.00:43221/jars/twitter4j-stream-3.0.3.jar with timestamp 1488442845227 INFO [2017-03-02 08:20:45,228] ({pool-2-thread-3} SparkInterpreter.java[open]:684) - sc.addJar(/usr/hdp/current/zeppelin-server/local-repo/org/twitter4j/twitter4j-stream/3.0.3/twitter4j-stream-3.0.3.jar) INFO [2017-03-02 08:20:45,231] ({pool-2-thread-3} Logging.scala[logInfo]:58) - Added JAR /usr/hdp/current/zeppelin-server/local-repo/org/twitter4j/twitter4j-core/3.0.3/twitter4j-core-3.0.3.jar at http://000.000.0.00:43221/jars/twitter4j-core-3.0.3.jar with timestamp 1488442845231 INFO [2017-03-02 08:20:45,235] ({pool-2-thread-3} SparkInterpreter.java[open]:684) - sc.addJar(/usr/hdp/current/zeppelin-server/local-repo/org/twitter4j/twitter4j-core/3.0.3/twitter4j-core-3.0.3.jar) INFO [2017-03-02 08:20:45,237] ({pool-2-thread-3} Logging.scala[logInfo]:58) - Added JAR /usr/hdp/current/zeppelin-server/local-repo/2C73PQ8RJ/unused-1.0.0.jar at http://000.000.0.00:43221/jars/unused-1.0.0.jar with timestamp 1488442845237 INFO [2017-03-02 08:20:45,238] ({pool-2-thread-3} SparkInterpreter.java[open]:703) - sc.addJar(/usr/hdp/current/zeppelin-server/local-repo/2C73PQ8RJ/unused-1.0.0.jar) INFO [2017-03-02 08:20:45,307] ({pool-2-thread-3} Logging.scala[logInfo]:58) - Added JAR /usr/hdp/current/zeppelin-server/local-repo/2C73PQ8RJ/twitter4j-core-3.0.3.jar at http://000.000.0.00:43221/jars/twitter4j-core-3.0.3.jar with timestamp 1488442845307 INFO [2017-03-02 08:20:45,313] ({pool-2-thread-3} SparkInterpreter.java[open]:703) - sc.addJar(/usr/hdp/current/zeppelin-server/local-repo/2C73PQ8RJ/twitter4j-core-3.0.3.jar) INFO [2017-03-02 08:20:45,314] ({pool-2-thread-3} Logging.scala[logInfo]:58) - Added JAR /usr/hdp/current/zeppelin-server/local-repo/2C73PQ8RJ/spark-streaming-twitter_2.11-1.5.2.jar at http://000.000.0.00:43221/jars/spark-streaming-twitter_2.11-1.5.2.jar with timestamp 1488442845314 INFO [2017-03-02 08:20:45,314] ({pool-2-thread-3} SparkInterpreter.java[open]:703) - sc.addJar(/usr/hdp/current/zeppelin-server/local-repo/2C73PQ8RJ/spark-streaming-twitter_2.11-1.5.2.jar) INFO [2017-03-02 08:20:45,314] ({pool-2-thread-3} Logging.scala[logInfo]:58) - Added JAR /usr/hdp/current/zeppelin-server/local-repo/2C73PQ8RJ/twitter4j-stream-3.0.3.jar at http://000.000.0.00:43221/jars/twitter4j-stream-3.0.3.jar with timestamp 1488442845314 INFO [2017-03-02 08:20:45,315] ({pool-2-thread-3} SparkInterpreter.java[open]:703) - sc.addJar(/usr/hdp/current/zeppelin-server/local-repo/2C73PQ8RJ/twitter4j-stream-3.0.3.jar) INFO [2017-03-02 08:20:50,921] ({pool-2-thread-3} SchedulerFactory.java[jobFinished]:137) - Job remoteInterpretJob_1488442776622 finished by scheduler org.apache.zeppelin.spark.SparkInterpreter776184430 INFO [2017-03-02 08:24:23,965] ({pool-2-thread-5} SchedulerFactory.java[jobStarted]:131) - Job remoteInterpretJob_1488443063964 started by scheduler org.apache.zeppelin.spark.SparkInterpreter776184430 INFO [2017-03-02 08:24:28,131] ({pool-2-thread-5} SchedulerFactory.java[jobFinished]:137) - Job remoteInterpretJob_1488443063964 finished by scheduler org.apache.zeppelin.spark.SparkInterpreter776184430
... View more
02-27-2017
10:36 AM
1 Kudo
Hi All, how to debug zeppelin, I am trying a simple command - It's giving error. %sql val df = sqlContext.sql("show databases") cannot recognize input near 'val' 'df' '='; line 1 pos 0 ' set zeppelin.spark.sql.stacktrace = true to see full stacktrace Thanks, Avijeet
... View more
Labels:
- Labels:
-
Apache Zeppelin
02-27-2017
05:41 AM
Hi All, was looking for more around http://zeppelin.apache.org/docs/0.7.0/manual/dependencymanagement.html How exactly Maven repos are used in Zeppelin Thanks, Avijeet
... View more
02-24-2017
10:43 AM
1 Kudo
Hi, I have been trying to understand zeppelin architecture but not getting good information, can the experts please share some information how does it work, and how to debug various issues with it. Thanks, Avijeet
... View more
Labels:
- Labels:
-
Apache Zeppelin
02-13-2017
07:22 AM
Hi All, whats the best way to learn writing custom processors in nifi, looking for the documentation where the nifi internal framework and components are well explained. For example, what are controller services? What is the different types of processors - for example what is the difference between GetXXX and FetchXXX processors? Thanks, Avijeet
... View more
Labels:
- Labels:
-
Apache NiFi
02-13-2017
07:17 AM
1 Kudo
Hi All, whats the best way / easiest to learn jolt spec, I looked at the example on http://jolt-demo.appspot.com/#inception It doesn't look very self explanatory. Thanks, Avijeet
... View more
Labels:
- Labels:
-
Apache NiFi