Member since
05-16-2016
785
Posts
114
Kudos Received
39
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2329 | 06-12-2019 09:27 AM | |
| 3590 | 05-27-2019 08:29 AM | |
| 5731 | 05-27-2018 08:49 AM | |
| 5251 | 05-05-2018 10:47 PM | |
| 3115 | 05-05-2018 07:32 AM |
07-24-2017
06:51 PM
@cllearner Could you let me know if you are able to bring up your Cloudera-scm-server / Cloudera-scm-server-db ? whats their status ? where you able to bring up the Cloudera manager web ui ? could you check if you multiple java version hanging around in the host ? /usr/java/
/usr/lib/jvm/ or you use alternatives Meantime using the Code tag tool bar could you share the logs cloudera-scm-server / cloudera-scm-agent ? is the location for those logs /var/log/
... View more
07-22-2017
07:36 PM
@sri1993 please look in to my response in this thread . i think its a know issue . http://community.cloudera.com/t5/Cloudera-Manager-Installation/Impala-Catalog-Server-supervisor-permissions/m-p/56710#M11064 let me know if that helps
... View more
07-22-2017
07:33 PM
try this create TABLE emp1 AS SELECT name,job,loc FROM emp; this should create you a table called emp under your /user/hive/warehouse/your_database_folder perform a select in emp1 - you should get results. let me know if that works
... View more
07-22-2017
06:27 PM
@saisvk mate please look into my previous response i have highlighted what will happen when you use LIKE CREATE TABLE crimeloc LIKE CRIME2013 STORED AS RCFILE LOCATION '/user/hive/warehouse/svk.db';
now above it is creating a new table called crimeloc with 0 rows,
... View more
07-22-2017
04:15 AM
1 Kudo
@saisvk Please read my previous response one more time . I told you that you dont have to mention column when you use LIKE and also it will create table with NO DATA hence you have to insert . Now your query should be like this . copy paste it in your terminal . The below will only CREATE - Does not LOAD DATA . ( LIKE ) CREATE TABLE maxminonly2013 LIKE maxmin2013 STORED AS RCFILE LOCATION '/user/hive/warehouse/d2013.db/' The below will create and LOAD the data (AS) CREATE TABLE maxminonly2013 STORED AS TEXTFILE LOCATION '/user/hive/warehouse/dissertation.db/' AS SELECT * FROM maxmin2013 ; please let me know if that helps .
... View more
07-21-2017
09:42 PM
@skollcaku @yash808 @lidaling if you are not using cloudera manager then fire this command to see your status of the statestore Check 1 - see if you have software installed in Host that you are trying
sudo yum install --assumeyes impala-state-store
sudo yum install --assumeyes impala-catalog
Check 2
sudo service impala-state-store status
if it is in failed state - check the logs /var/log/impala/
if it is in stop state
start by firing this command
sudo service impala-state-store start
then
check the status again
sudo service impala-state-store status if you are using CM please let me know the version of CM/CDH plus your OS version / Kernel version meantime check the instance to see if it is all green / red - I mean the Impala daemons (State store , catalog , impala daemon ) Let me know if that works
... View more
07-21-2017
09:25 PM
As pointed mostly like it will be the resource allocation on those parameter good that you found it in that thread .I was close to narrow it down . Guess what sometimes it could be some socket configuration on the OS too . The logs will clearly guide us to it .
... View more
07-21-2017
09:04 AM
@saisvk just type the below in the impala terminal mate Create table A LIKE percentagecrime2012 STORED AS RCFILE LOCATION '/user/hive/warehouse/dissertation.db/' Note - When you use LIKE " you do not specify the columns at all; the column names and types are derived from the source table" " Also it will only create empty table with same structure as your orginal table with NO DATA " hence when you perform select * from table_name it did not return rows. LOCATION - is the path of the location that you want your new created table to be . if you want to clone the structure along with the data and your custom location then use below query CREATE TABLE A STORED AS TEXTFILE LOCATION '/user/hive/warehouse/dissertation.db/' AS SELECT * FROM percentagecrime2012; if you need more information let me know .
... View more
07-21-2017
03:23 AM
@saisvk The syntax that I shared should work with impala and hive . which ever you like AS or LIKE you can use . if you got any error by using them in impala let me know .
... View more
07-20-2017
09:38 PM
1 Kudo
if you are able to bring up the cloudera manager then it is a good sign there is no such thing as default eithe you use cloudera manager express edition or enterprise edition , both comes with the preconfigured resource threshold precentage that it will check to see if the nodes are runining with adequate resouce , since you are accomdating it with a little RAM it is showing the health as bad . You have to manually go to the each servicec in the Cloudera manager UI change the resource threshold accordingly for example hdfs disk space , namenode heap size,secondarynamenode heap size , cloudera management's database free space , event server heap size etc . this is really going to be pain in the back Or as suggested you can manual manage the CDH by totally avoiding the cloudera manager and deploy Single Linux Node in Pseudo-distributed Mode .
... View more