Member since
01-21-2016
290
Posts
76
Kudos Received
3
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3211 | 01-09-2017 11:00 AM | |
1286 | 12-15-2016 09:48 AM | |
5559 | 02-03-2016 07:00 AM |
07-21-2016
05:16 AM
I need to find the files/directories that are occupying the maximum space in HDFS. so that i can ask the owners of those directories to clean up the spaces. what is the command that can provide the results for this purpose. Also i do notice the namenode heap size is increasing and is around 80 - 90%. IS there a way to find which files cause this . i.e which directory has too many small files or how to identify the small files which might cause this . Or is there any other reason thaat is causing the namenode heapsize to increase. My name node memory is 3 GB.
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
07-11-2016
09:25 AM
Hi @Vedant Jain, How did you fix this issue. I have HDP 2.4.0 installed and i used the following command to invoke the spark-shell spark-shell --master yarn-client --jars /usr/hdp/current/phoenix-client/phoenix-client.jar,/usr/hdp/current/phoenix-client/lib/phoenix-spark-4.4.0.2.4.0.0-169.jar I didnt cahnge anything in the default configurations. just installed spark and tried and got the below eception Caused by: java.lang.ClassCastException: org.apache.spark.sql.catalyst.expressions.GenericMutableRow cannot be cast to org.apache.spark.sql.Row Any thoughts would be great. Also i tried what @Guilherme Braccialli said. it didnt work too. is it a bug in HDP 2.4.0?
... View more
06-29-2016
09:10 PM
1 Kudo
I have set up a primary and secondary KDC manually. I am not using any AD. How do i specify the secondary in ambari. if it is just a primary, i can specify in ambari directly. any example or thoughts would be great.
... View more
Labels:
- Labels:
-
Apache Ambari
06-29-2016
11:29 AM
I am trying to run a phoenix query, which scans millions of rows and does some processing. The problem is the entire data is being pulled to the client and the client runs out of memory. Is there a way to push down the query to the server side. IS it a setting that needs to be done for achieving this.
... View more
Labels:
- Labels:
-
Apache HBase
-
Apache Phoenix
06-28-2016
06:33 AM
I want to use a few jars for executing some hive queries. I can do this by adding those jars in the beeline session. But is there a way of doing it permanently by specifying the HIVE_AUX_JARS. If so how can i do it in ambari. Also do these jars need to be present in all the nodes of the cluster? I am using ambari 2.2.1
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hive
06-28-2016
06:30 AM
Thanks @Sandeep Nemuri It seems by default the query timeout is 1.5 mins and i increased it to 5 mins and it worked fine.
... View more
06-28-2016
05:37 AM
I am trying to run a phoenix query which has to fetch about 1.5 millions rows. the query times out. Is there any config parameter, i need to set up. Any thoughts would be of great help SELECT COUNT(1) FROM TABLE +------------------------------------------+
| COUNT(1) |
+------------------------------------------+
java.lang.RuntimeException: java.sql.SQLTimeoutException: Operation timed out
at sqlline.IncrementalRows.hasNext(IncrementalRows.java:73)
at sqlline.TableOutputFormat.print(TableOutputFormat.java:33)
at sqlline.SqlLine.print(SqlLine.java:1653)
at sqlline.Commands.execute(Commands.java:833)
at sqlline.Commands.sql(Commands.java:732)
at sqlline.SqlLine.dispatch(SqlLine.java:808)
at sqlline.SqlLine.begin(SqlLine.java:681)
at sqlline.SqlLine.start(SqlLine.java:398)
at sqlline.SqlLine.main(SqlLine.java:292)
... View more
Labels:
- Labels:
-
Apache HBase
-
Apache Phoenix
06-27-2016
09:48 AM
Thanks @Jitendra Yadav and @Sindhu, seems this feature of importing directly to a phoenix table is not available till sqoop 1.4.7 gets released.
... View more
06-27-2016
08:37 AM
Can a RDBMS table be imported to a phoenix hbase table using Sqoop? IS there a direct way of doing this and if so can anyone point out the required resources.
... View more
Labels:
- Labels:
-
Apache HBase
-
Apache Phoenix
-
Apache Sqoop
06-27-2016
05:49 AM
hi @Deepesh, the zookeeper logs doesnt have anything , it is zero bytes. Does hive use zookeeper?
... View more