er contain the principal I set up with the kinit
command?
Many Thanks!
-- --
??: "yuzhihong";;
: 2015??5??22??(??) 7:25
??: "donhoff_h"<165612...@qq.com>;
????: "Bill Q"; "user";
?
>> conn.close()
>> es.shutdown()
>>}
>>
>>val rdd = sc.parallelize(Array(1,2,3,4,5,6,7,8,9,10))
>>val v = rdd.sum()
>>println("Value="+v)
>>sc.stop()
>>
>> }
>> }
>>
>>
>>
.close()
> conn.close()
> es.shutdown()
>}
>
>val rdd = sc.parallelize(Array(1,2,3,4,5,6,7,8,9,10))
>val v = rdd.sum()
>println("Value="+v)
> sc.stop()
>
> }
> }
>
>
> -- 原始邮件 --
> 发件人:
-- ???????? ----------
??????: "yuzhihong";;
: 2015??5??22??(??) 5:29
??: "donhoff_h"<165612...@qq.com>;
: "Bill Q"; "user";
: Re: How to use spark to access HBase with Security enabled
Are the worker nodes colocate
val c = it.next()
>>val family = Bytes.toString(CellUtil.cloneFamily(c))
>> val qualifier = Bytes.toString(CellUtil.cloneQualifier(c))
>>val value = Bytes.toString(CellUtil.cloneValue(c))
>>val tm = c.getTimestamp
>>
any Thanks!
-- --
??: "yuzhihong";;
: 2015??5??22??(??) 5:29
??: "donhoff_h"<165612...@qq.com>;
????: "Bill Q"; "user";
????: Re: How to use spark to access HBase with Security enabled
Are the worker nodes colocated with HBase region servers
";> >;
>> *发送时间:* 2015年5月20日(星期三) 晚上10:13
>> *收件人:* "donhoff_h"<165612...@qq.com
>> >;
>> *抄送:* "yuzhihong"> >; "user"<
>> user@spark.apache.org
>> >;
>> *主题:* Re: How to use spark to access HBas
gt;
> ***I used the following command to run my
> program**
> spark-submit --class dhao.test.read.singleTable.TestHBaseRead --master
> yarn-cluster --driver-java-options
> "-Djava.security.auth.login.config=/home/spark/spark-hbase.jaas
> -Dj
urity.auth.login.config=/home/spark/spark-hbase.jaas
-Djava.security.krb5.conf=/etc/krb5.conf" /home/spark/myApps/TestHBase.jar
-- --
??: "Bill Q";;
????: 2015??5??20??(??) 10:13
??: "donhoff_h"<165612...@qq.com>;
: "yuzhihong"; "user&
> *收件人:* "donhoff_h"<165612...@qq.com
> >;
> *抄送:* "user" >;
> *主题:* Re: How to use spark to access HBase with Security enabled
>
> Please take a look at:
>
> http://hbase.apache.org/book.html#_client_side_configuration_for_secure_operation
>
&
this problem. Can anybody help me to
figure it out? Many Thanks!
-- --
??: "yuzhihong";;
: 2015??5??19??(??) 7:55
??????: "donhoff_h"<165612...@qq.com>;
????: "user";
: Re: How to use spark to a
s!
>
> -- 原始邮件 --
> *发件人:* "yuzhihong";;
> *发送时间:* 2015年5月19日(星期二) 晚上7:55
> *收件人:* "donhoff_h"<165612...@qq.com>;
> *抄送:* "user";
> *主题:* Re: How to use spark to access HBase with Security enabled
>
> Which user
solve this problem. Can anybody help me to
figure it out? Many Thanks!
-- --
??: "yuzhihong";;
: 2015??5??19??(??) 7:55
??: "donhoff_h"<165612...@qq.com>;
????: "user";
????: Re: How to use
Which user did you run your program as ?
Have you granted proper permission on hbase side ?
You should also check master log to see if there was some clue.
Cheers
> On May 19, 2015, at 2:41 AM, donhoff_h <165612...@qq.com> wrote:
>
> Hi, experts.
>
> I ran the "HBaseTest" program which is
Hi, experts.
I ran the "HBaseTest" program which is an example from the Apache Spark source
code to learn how to use spark to access HBase. But I met the following
exception:
Exception in thread "main"
org.apache.hadoop.hbase.client.RetriesExhaustedException: Failed after
attempts=36, exceptio
15 matches
Mail list logo