co.cask.tephra.TransactionFailureException: Exception raised in transactional execution. Cause: Output directory not set.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Google Groups by Sharanya Santhanam, 1 year ago
Exception raised in transactional execution. Cause: Output directory not set.
via Google Groups by Sharanya Santhanam, 1 year ago
Exception raised in transactional execution. Cause: Output directory not set.
via Cask Community Issue Tracker by Sreevatsan Raman, 1 year ago
Exception raised in transactional execution. Cause: bad symbolic reference. A signature in org.apache.spark.mllib.classification.NaiveBayesModel refers to type use Cr in package org.apache.spark.mllib.util which is not available. It may be
co.cask.tephra.TransactionFailureException: Exception raised in transactional execution. Cause: Output directory not set.
at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopDataset$1.apply$mcV$sp(PairRDDFunctions.scala:1011)
at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopDataset$1.apply(PairRDDFunctions.scala:998)
at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopDataset$1.apply(PairRDDFunctions.scala:998)
at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:147)
at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:108)
at org.apache.spark.rdd.RDD.withScope(RDD.scala:310)
at co.cask.cdap.app.runtime.spark.DefaultSparkExecutionContext$$anon$2.run(DefaultSparkExecutionContext.scala:224)
at co.cask.cdap.app.runtime.spark.SparkTransactional.execute(SparkTransactional.java:197)
at co.cask.cdap.app.runtime.spark.DefaultSparkExecutionContext.saveAsDataset(DefaultSparkExecutionContext.scala:202)
at co.cask.cdap.api.spark.SparkMain$SparkProgramRDDFunctions.saveAsDataset(SparkMain.scala:121)
at co.cask.cdap.scala.WordCountProgram.run(WordCountProgram.scala:65)
at co.cask.cdap.app.runtime.spark.SparkMainWrapper$.main(SparkMainWrapper.scala:92)
at co.cask.cdap.app.runtime.spark.SparkMainWrapper.main(SparkMainWrapper.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.