Member since
01-02-2015
2
Posts
0
Kudos Received
0
Solutions
09-14-2017
02:54 PM
When you run OfflineMetaRepair, most likely you will run it from your userid or root. Then we may get some opaque errors like "java.lang.AbstractMethodError: org.apache.hadoop.hbase.ipc.RpcScheduler.getWriteQueueLength()". If you check in HDFS, you may see that the meta directory is no longer owned by hbase: $ hdfs dfs -ls /hbase/data/hbase/
Found 2 items
drwxr-xr-x - root hbase 0 2017-09-12 13:58 /hbase/data/hbase/meta
drwxr-xr-x - hbase hbase 0 2016-06-15 15:02 /hbase/data/hbase/namespace Manually chown -R it and restart HBase fixed it for me.
... View more
05-23-2016
04:07 PM
Hi - I'm new to cloudera, I installed a single node cluster... Now I'm trying to import simple table with just two rows, the job is accepted and doesn't get assinged. Could you please help me ? chetan@VM-DB-TESTM1 ~]$ sqoop import --connect jdbc:oracle:thin:@xxxxx:1521:testdb1 --table HADOOP --username dbo --password xxx --target-dir /user/chetan/s qoopimport_hadoop -m 1 Warning: /opt/cloudera/parcels/CDH-5.7.0-1.cdh5.7.0.p0.45/bin/../lib/sqoop/../accumulo does not exist! Accumulo imports will fail. Please set $ACCUMULO_HOME to the root of your Accumulo installation. 16/05/23 18:59:07 INFO sqoop.Sqoop: Running Sqoop version: 1.4.6-cdh5.7.0 16/05/23 18:59:07 WARN tool.BaseSqoopTool: Setting your password on the command-line is insecure. Consider using -P instead. 16/05/23 18:59:07 INFO oracle.OraOopManagerFactory: Data Connector for Oracle and Hadoop is disabled. 16/05/23 18:59:07 INFO manager.SqlManager: Using default fetchSize of 1000 16/05/23 18:59:07 INFO tool.CodeGenTool: Beginning code generation 16/05/23 18:59:08 INFO manager.OracleManager: Time zone has been set to GMT 16/05/23 18:59:08 INFO manager.SqlManager: Executing SQL statement: SELECT t.* FROM HADOOP t WHERE 1=0 16/05/23 18:59:08 INFO orm.CompilationManager: HADOOP_MAPRED_HOME is /opt/cloudera/parcels/CDH/lib/hadoop-mapreduce Note: /tmp/sqoop-chetan/compile/3c2eef1b0c3dfa6014003af2614804cf/HADOOP.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 16/05/23 18:59:09 INFO orm.CompilationManager: Writing jar file: /tmp/sqoop-chetan/compile/3c2eef1b0c3dfa6014003af2614804cf/HADOOP.jar 16/05/23 18:59:09 INFO manager.OracleManager: Time zone has been set to GMT 16/05/23 18:59:09 INFO manager.OracleManager: Time zone has been set to GMT 16/05/23 18:59:09 INFO mapreduce.ImportJobBase: Beginning import of HADOOP 16/05/23 18:59:09 INFO Configuration.deprecation: mapred.jar is deprecated. Instead, use mapreduce.job.jar 16/05/23 18:59:09 INFO manager.OracleManager: Time zone has been set to GMT 16/05/23 18:59:10 INFO Configuration.deprecation: mapred.map.tasks is deprecated. Instead, use mapreduce.job.maps 16/05/23 18:59:10 INFO client.RMProxy: Connecting to ResourceManager at VM-DB-TESTM1.VITECH.COM/10.xxxx:8032 16/05/23 18:59:11 INFO db.DBInputFormat: Using read commited transaction isolation 16/05/23 18:59:11 INFO mapreduce.JobSubmitter: number of splits:1 16/05/23 18:59:11 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1464044309422_0001 16/05/23 18:59:12 INFO impl.YarnClientImpl: Submitted application application_1464044309422_0001 16/05/23 18:59:12 INFO mapreduce.Job: The url to track the job: http://VM-DB-TESTM1.VITECH.COM:8088/proxy/application_1464044309422_0001/ 16/05/23 18:59:12 INFO mapreduce.Job: Running job: job_1464044309422_0001
... View more