spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Taukir (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-17787) spark submit throws error while using kafka Appender log4j:ERROR Could not instantiate class [kafka.producer.KafkaLog4jAppender]. java.lang.ClassNotFoundException: kafka.producer.KafkaLog4jAppender
Date Wed, 05 Oct 2016 13:57:20 GMT

     [ https://issues.apache.org/jira/browse/SPARK-17787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Taukir updated SPARK-17787:
---------------------------
    Priority: Major  (was: Critical)

> spark submit throws error while using kafka Appender log4j:ERROR Could not instantiate
class [kafka.producer.KafkaLog4jAppender]. java.lang.ClassNotFoundException: kafka.producer.KafkaLog4jAppender
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-17787
>                 URL: https://issues.apache.org/jira/browse/SPARK-17787
>             Project: Spark
>          Issue Type: Bug
>    Affects Versions: 1.6.2
>            Reporter: Taukir
>
> spark-submit --class com.SampleApp --conf spark.ui.port=8081 --master yarn-cluster
> --files files/home/hos/KafkaApp/log4j.properties#log4j.properties,/home/hos/KafkaApp/kafka_2.10-0.8.0.jar
> --conf spark.driver.extraJavaOptions='-Dlog4j.configuration=file:/home/hos/KafkaApp/log4j.properties'
> --conf "spark.driver.extraClassPath=/home/hos/KafkaApp/kafka_2.10-0.8.0.jar"
> --conf spark.executor.extraJavaOptions='-Dlog4j.configuration=file:/home/hos/KafkaApp/log4j.properties'
> --conf "spark.executor.extraClassPath=/home/hos/KafkaApp/kafka_2.10-0.8.0.jar" Kafka-App-assembly-1.0.jar
>  it it throws java.lang.ClassNotFoundException: kafka.producer.KafkaLog4jAppender exception



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message