Member since
10-05-2015
19
Posts
0
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
13903 | 11-08-2015 09:28 PM | |
11414 | 10-11-2015 03:23 AM |
11-08-2015
09:28 PM
Hey everyone! I've fixed this issue by setting "dfs.support.broken.append" to true in hdfs-site.xml. http://hadoop.apache.org/docs/r1.2.1/releasenotes.html As hadoop 1.2.1 release dfs.support.append not supported in 1.x versions.
... View more
11-06-2015
10:22 PM
Rightnow permission is drwxr-xr-x and owner is hadoop user. As 3rd group is x only other users(hue) have only execute permission. i've tried to change using hadoop fs -chmod 777 but there is no effect on it. Actually i have different superuser for hadoop and hue. How to solve this issue ?
... View more
10-31-2015
10:41 AM
Thanks for pointing out. Namenode contain following error. error: java.io.IOException: Append is not supported. Please see the dfs.support.append configuration parameter
java.io.IOException: Append is not supported. Please see the dfs.support.append configuration parameter
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.appendFile(FSNamesystem.java:1781)
at org.apache.hadoop.hdfs.server.namenode.NameNode.append(NameNode.java:725)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:587)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1432)
at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1428)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:415)
at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1190)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1426) I've set "dfs.support.append" to true and restarted cluster and tried again to upload file but still error is there.
... View more
10-31-2015
03:12 AM
When i try to upload files to HDFS it shows "Error:undefined". Howerver from terminal i can upload files successfully. Is there any permission issue? I've set in core-site.xml <property>
<name>hadoop.proxyuser.hue.hosts</name>
<value>*</value>
</property>
<property>
<name>hadoop.proxyuser.hue.groups</name>
<value>*</value>
</property>
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Cloudera Hue
-
HDFS
10-11-2015
03:23 AM
Hurray guys 🙂 Now i've configured hive 1.0.1. There is no longer error when i execute queries with "STORED AS TEXTFILE" in hive editor. And also successfully loaded hive sample tables. But when hue is not running i can access hive in terminal. But when hue is running i can not access hive in terminal. It shows following exceptions ERROR XSDB6: Another instance of Derby may have already booted the database /home/dhruv/metastore_db. java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:derby:;databaseName=metastore_db;create=true, username = APP. Terminating connection pool (set lazyInit to true if you expect to start your database after your app). Original Exception: ------ java.sql.SQLException: Failed to start database 'metastore_db' with class loader sun.misc.Launcher$AppClassLoader@1137792, see the next exception for details. Is it ok with hue as it is accessing same instance? Do i need to change any configuration so that both can work simultaneously ?
... View more
10-09-2015
03:53 AM
Hi romain You are right. I've configured hive-site.xml & hive-env.sh. Now i can run create table quiries but without "STORED AS TEXTFILE". This query works fine. create table employee (eid int, name String,salary String, destination String) row format delimited fields terminated by ','; I think some one has already opened this issue for hive 1.1.1. https://issues.apache.org/jira/browse/HIVE-10831 With stored as text file clause i got this error. However i got same error as i told earlier when i try to load sample hive tables. http://screencast.com/t/gzmo3sceM Should i use hive 1.0.1 or lower instead of 1.1.1 ? Please tell me how can i fix this issue.
... View more
10-08-2015
12:29 PM
It gives me error "database is locked".
... View more
10-07-2015
10:14 PM
Thank you. There is no longer hdfs and hive related errors now on quick configuration page. hive works on terminal nicely but when i try to load sample data is shows me error as below. Could not install table: Error creating table sample_07: Bad status for request TExecuteStatementReq(confOverlay={}, sessionHandle=TSessionHandle(sessionId=THandleIdentifier(secret='\xc6\xd5\xb4\x7f\xbe\xe3L\x16\xb1C\x9e\xf3\xbe\xde\xb3K', guid='$\xaa|L\xa4:AH\x90\x14\xfd\x0f\xb7\xa9\x89\xde')), runAsync=True, statement="CREATE TABLE `sample_07` (\n `code` string ,\n `description` string ,\n `total_emp` int ,\n `salary` int )\nROW FORMAT DELIMITED\n FIELDS TERMINATED BY '\t'\nSTORED AS TextFile"): TExecuteStatementResp(status=TStatus(errorCode=None, errorMessage="java.lang.AssertionError: Unknown token: [@-1,0:0='TOK_FILEFORMAT_GENERIC',<679>,0:-1]", sqlState=None, infoMessages=["*java.lang.RuntimeException:java.lang.AssertionError: Unknown token: [@-1,0:0='TOK_FILEFORMAT_GENERIC',<679>,0:-1]:19:18", 'org.apache.hive.service.cli.session.HiveSessionProxy:invoke:HiveSessionProxy.java:83', 'org.apache.hive.service.cli.session.HiveSessionProxy:access$000:HiveSessionProxy.java:36', 'org.apache.hive.service.cli.session.HiveSessionProxy$1:run:HiveSessionProxy.java:63', 'java.security.AccessController:doPrivileged:AccessController.java:-2', 'javax.security.auth.Subject:doAs:Subject.java:415', 'org.apache.hadoop.security.UserGroupInformation:doAs:UserGroupInformation.java:1190', 'org.apache.hive.service.cli.session.HiveSessionProxy:invoke:HiveSessionProxy.java:59', 'com.sun.proxy.$Proxy15:executeStatementAsync::-1', 'org.apache.hive.service.cli.CLIService:executeStatementAsync:CLIService.java:271', 'org.apache.hive.service.cli.thrift.ThriftCLIService:ExecuteStatement:ThriftCLIService.java:415', 'org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement:getResult:TCLIService.java:1313', On terminal it shows me FAILED: SemanticException [Error 10001]: Table not found default.sample_07. I've started hive server as it is not started automatically. $HIVE_HOME/bin/hive --service hiveserver2 & I've used hive 1.1.1. You have tested with hive 1.1 http://cloudera.github.io/hue/docs-3.9.0/release-notes/release-notes-3.9.0.html DO i need to set hive-site.xml url theere is no hive-site.xml as in terminal it works nicely ? Do i need to configure other components like impala,oozie etc ? Do you want to see my pseudo-distributed.ini ? Please help me.
... View more
10-05-2015
11:27 PM
I've installed hue 3.9.1 on virtualbox hadoop 1.2.1. I've followed below links for configuration. http://gethue.com/how-to-build-hue-on-ubuntu-14-04-trusty/ http://gethue.com/how-to-configure-hue-in-your-hadoop-cluster/ I've not uncomment lines starts with ## as it stands for default values. HDFS (file browser) working perfectly. Do i need to install hive explicitly? please help me how to configure properly. I found installation manual table 2 dependencies. Do i need to install these things in order run hive and other components? http://cloudera.github.io/hue/docs-3.9.0/manual.html please see screnshots for errors. http://screencast.com/t/FcMfRlSyR http://screencast.com/t/tcAhaDDecxW
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache Hive
-
Cloudera Hue
-
HDFS