[ 
https://issues.apache.org/jira/browse/SPARK-15221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15344557#comment-15344557
 ] 

Rick Bross edited comment on SPARK-15221 at 6/22/16 3:57 PM:
-------------------------------------------------------------

Actually the error the first time you run is:

java.lang.RuntimeException: java.io.IOException: Filesystem closed
 
And it's the same with the package for Hadoop 1.x

The *second* time through it's a different error, the:

java.lang.RuntimeException: java.lang.RuntimeException: The root scratch dir: 
/tmp/hive on HDFS should be writable. Current permissions are: rwx--x--x

I tried to create the path "tmp/hive" under /mnt/ephemeral-hdfs and chmod to 
777.  No joy.



was (Author: rabinnh):
Actually the error the first time you run is:

java.lang.RuntimeException: java.io.IOException: Filesystem closed
 
And it's the same with the package for Hadoop 1.x

The *second* time through it's a different error, the:

java.lang.RuntimeException: java.lang.RuntimeException: The root scratch dir: 
/tmp/hive on HDFS should be writable. Current permissions are: rwx--x--x


> error: not found: value sqlContext when starting Spark 1.6.1
> ------------------------------------------------------------
>
>                 Key: SPARK-15221
>                 URL: https://issues.apache.org/jira/browse/SPARK-15221
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.6.1
>         Environment: Ubuntu 14.0.4, 8 GB RAM, 1 Processor
>            Reporter: Vijay Parmar
>            Priority: Blocker
>              Labels: build, newbie
>
> When I start Spark (version 1.6.1), at the very end I am getting the 
> following error message:
> <console>:16: error: not found: value sqlContext
>          import sqlContext.implicits._
>                 ^
> <console>:16: error: not found: value sqlContext
>          import sqlContext.sql
> I have gone through some content on the web about editing the /.bashrc file 
> and including the "SPARK_LOCAL_IP=127.0.0.1" under SPARK variables. 
> Also tried editing the /etc/hosts file with :-
>  $ sudo vi /etc/hosts
>  ...
>  127.0.0.1  <HOSTNAME>
>  ...
> but still the issue persists.  Is it the issue with the build or something 
> else?



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to