Re: SPARK SQL HiveContext Error

2016-03-01 Thread Gourav Sengupta
Hi Mich, thanks a ton for your kind response, but this error was happening because of loading derby classes mroe than once In my second email I mentioned the steps that I took in order to resolve the issue. Thanks and Regards, Gourav On Tue, Mar 1, 2016 at 8:54 PM, Mich Talebzadeh

Re: SPARK SQL HiveContext Error

2016-03-01 Thread Gourav Sengupta
Hi, FIRST ATTEMPT: Use build.sbt in IntelliJ and it was giving me nightmares with several incompatibility and library issues though the sbt version was compliant with the scala version SECOND ATTEMPT: Created a new project with no entries in build.sbt file and imported all the files in

SPARK SQL HiveContext Error

2016-03-01 Thread Gourav Sengupta
Hi, I am getting the error "*java.lang.SecurityException: sealing violation: can't seal package org.apache.derby.impl.services.locks: already loaded"* after running the following code in SCALA. I do not have any other instances of sparkContext running from my system. I will be grateful for if