Re: carbon thrift server for spark 2.0 showing unusual behaviour

2017-01-04 Thread QiangCai
column name is "int"?  type is "String"?
better to try another column name.



--
View this message in context: 
http://apache-carbondata-mailing-list-archive.1130556.n5.nabble.com/carbon-thrift-server-for-spark-2-0-showing-unusual-behaviour-tp5384p5454.html
Sent from the Apache CarbonData Mailing List archive mailing list archive at 
Nabble.com.


Re: carbon thrift server for spark 2.0 showing unusual behaviour

2017-01-03 Thread anubhavtarar
have a look at these logs 

CREATE TABLE Bug212(int string)USING org.apache.spark.sql.CarbonSource
OPTIONS("bucketnumber"="1", "bucketcolumns"="String","tableName"="t100");

Error:
org.apache.carbondata.spark.exception.MalformedCarbonCommandException: Table
default.t 100 can not be created without key columns. Please use
DICTIONARY_INCLUDE or DICTIONARY_EXCLUDE to set at least one key column if
all specified columns are numeric types (state=,code=0)

2 minutes later

 CREATE TABLE Bug211(int int)USING org.apache.spark.sql.CarbonSource
OPTIONS("bucketnumber"="1", "bucketcolumns"="String","tableName"="t 100");

CREATE TABLE Bug211(int int)USING org.apache.spark.sql.CarbonSource
OPTIONS("bucketnumber"="1", "bucketcolumns"="String","tableName"="t 100");

it is blocking for spark2




--
View this message in context: 
http://apache-carbondata-mailing-list-archive.1130556.n5.nabble.com/carbon-thrift-server-for-spark-2-0-showing-unusual-behaviour-tp5384p5444.html
Sent from the Apache CarbonData Mailing List archive mailing list archive at 
Nabble.com.


Re: carbon thrift server for spark 2.0 showing unusual behaviour

2017-01-03 Thread Anubhav Tarar
see these logs
jdbc:hive2://localhost:1>  CREATE TABLE Bug2217559156(int int)USING
org.apache.spark.sql.CarbonSource;
+-+--+
| Result  |
+-+--+
+-+--+
No rows selected (1.809 seconds)
it does not give any exception in any query most of the times but sometimes
it works


On Wed, Jan 4, 2017 at 12:54 PM, Ravindra Pesala 
wrote:

> Hi,
>
> I did not understand the issue, what is the error it throws?
>
> On 4 January 2017 at 10:03, Anubhav Tarar 
> wrote:
>
> > here is the script ./bin/spark-submit --conf
> > spark.sql.hive.thriftServer.singleSession=true --class
> > org.apache.carbondata.spark.thriftserver.CarbonThriftServer
> > /opt/spark-2.0.0-bin-hadoop2.7/carbonlib/carbondata_2.11-1.
> > 0.0-incubating-SNAPSHOT-shade-hadoop2.2.0.jar
> > hdfs://localhost:54310/opt/carbonStore
> >
> > it works fine only 1 out of 10 times
> >
> > On Wed, Jan 4, 2017 at 8:28 AM, QiangCai  wrote:
> >
> > > Can you show the JDBCServer startup script?
> > >
> > >
> > >
> > > --
> > > View this message in context: http://apache-carbondata-
> > > mailing-list-archive.1130556.n5.nabble.com/carbon-thrift-
> > > server-for-spark-2-0-showing-unusual-behaviour-tp5384p5419.html
> > > Sent from the Apache CarbonData Mailing List archive mailing list
> archive
> > > at Nabble.com.
> > >
> >
> >
> >
> > --
> > Thanks and Regards
> >
> > *   Anubhav Tarar *
> >
> >
> > * Software Consultant*
> >   *Knoldus Software LLP    *
> >LinkedIn  Twitter
> > fb 
> >   mob : 8588915184
> >
>
>
>
> --
> Thanks & Regards,
> Ravi
>



-- 
Thanks and Regards

*   Anubhav Tarar *


* Software Consultant*
  *Knoldus Software LLP    *
   LinkedIn  Twitter
fb 
  mob : 8588915184


Re: carbon thrift server for spark 2.0 showing unusual behaviour

2017-01-03 Thread Anubhav Tarar
here is the script ./bin/spark-submit --conf
spark.sql.hive.thriftServer.singleSession=true --class
org.apache.carbondata.spark.thriftserver.CarbonThriftServer
/opt/spark-2.0.0-bin-hadoop2.7/carbonlib/carbondata_2.11-1.0.0-incubating-SNAPSHOT-shade-hadoop2.2.0.jar
hdfs://localhost:54310/opt/carbonStore

it works fine only 1 out of 10 times

On Wed, Jan 4, 2017 at 8:28 AM, QiangCai  wrote:

> Can you show the JDBCServer startup script?
>
>
>
> --
> View this message in context: http://apache-carbondata-
> mailing-list-archive.1130556.n5.nabble.com/carbon-thrift-
> server-for-spark-2-0-showing-unusual-behaviour-tp5384p5419.html
> Sent from the Apache CarbonData Mailing List archive mailing list archive
> at Nabble.com.
>



-- 
Thanks and Regards

*   Anubhav Tarar *


* Software Consultant*
  *Knoldus Software LLP    *
   LinkedIn  Twitter
fb 
  mob : 8588915184


carbon thrift server for spark 2.0 showing unusual behaviour

2017-01-03 Thread anubhavtarar
carbon thrift server is not parsing carbon query randomly with spark 2

here are the logs

: jdbc:hive2://localhost:1> CREATE TABLE Bug221755915(int int)USING
org.apache.spark.sql.CarbonSource;
+-+--+
| Result  |
+-+--+
+-+--+
No rows selected (0.216 seconds)

can anyone help?




--
View this message in context: 
http://apache-carbondata-mailing-list-archive.1130556.n5.nabble.com/carbon-thrift-server-for-spark-2-0-showing-unusual-behaviour-tp5384.html
Sent from the Apache CarbonData Mailing List archive mailing list archive at 
Nabble.com.