Member since
04-07-2017
80
Posts
33
Kudos Received
0
Solutions
04-23-2016
02:44 AM
2 Kudos
Hi, This is my schema after cogroup: C: {group: chararray,A: {(Name: chararray,Team: chararray,Positions: {T: (position: chararray)},Role: map[])},A1: {(Name1: chararray,Team1: chararray
,Points: int)}} And I would wanted to filter out C whose A1 is empty. Like the below record: (Jake Fox,{(Jake Fox,Chicago Cubs,{(Infielder),(Catcher),(Outfielder),(First_baseman)},[hit_by_pitch#5,games#89,on_base_percentage#0.305,grand_slams#
1,home_runs#11,sacrifice_flies#6,at_bats#230,gdb#6,ibbs#1,base_on_balls#15,hits#58,rbis#45,slugging_percentage#0.457,batting_average#0.252,doubles#14
,runs#26,strikeouts#49])},{}) I tried nested foreach but it did not help. The output was empty bag: Could someone post the query. Many Thanks!!!
... View more
Labels:
- Labels:
-
Apache Pig
04-23-2016
12:36 AM
1 Kudo
Hi, How to increase the counter limit for a pig session.
-Dmapreduce.job.counters.limit is what I saw for a session.
Should I use this before involing pig session in cmd?
Could you provide complete command please. Many Thanks!!!
... View more
Labels:
- Labels:
-
Apache Pig
04-22-2016
03:14 PM
I tried "ambari-server restart". Restart was successful, but the stacks wasn't up. I restart all the components. And Thank you. Hive is up.
... View more
04-22-2016
03:01 PM
Thank you.
I ran the above command and I am getting the below lines.
Connecting to jdbc:hive2://:10000/default?hive.execution.engine=tez Error: Bad URL format. Hostname not found in authority part of the url: :10000. Are you missing a '/' after the hostname ? (state=,code=0)
Beeline version 1.2.1.2.3.2.0-2950 by Apache Hive
0: jdbc:hive2://:10000/default (closed)>
Is this Error normal?
... View more
04-22-2016
01:34 PM
Hi Bernhard, Is there anyother was to work in Hive?
... View more
04-22-2016
01:28 PM
Under sandbox.hortonworks.com, Host HiveMetastore and Hive server are in started status.
... View more
04-22-2016
01:25 PM
Yes. 3 to 4 times. restarted several times. Could you pls help.
Metastore on sandbox.hortonworks.com failed (Execution of 'export HIVE_CONF_DIR='/usr/hd
... View more
04-22-2016
01:24 PM
I restarted several time and get the error:
Metastore on sandbox.hortonworks.com failed (Execution of 'export HIVE_CONF_DIR='/usr/hd
... View more
04-22-2016
01:16 PM
Hi, Is this error a common one or specific to a user.
I am getting this since morning. Could you please resolve this. Thank you.
... View more
Labels:
- Labels:
-
Apache Hive