Geetha Gubendran

Ranch Hand
+ Follow
since Sep 04, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
3
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Geetha Gubendran

My strategy is also concepts first then code examples.

Thanks in advance.

Me too first theory n concepts thorough then code examples.

Thank You.
Thanks Frits. Your notes is definitelt on my study list... right now going through EJB3 In Action. Once i understand the concepts, i will get into your notes. I will set up according to that..

Thank You.
$ hadoop
Usage: hadoop [--config confdir] COMMAND
where COMMAND is one of:
fs run a generic filesystem user client
version print the version
jar <jar> run a jar file
checknative [-a|-h] check native hadoop and compression libraries availabilit y
distcp <srcurl> <desturl> copy file or directories recursively
archive -archiveName NAME -p <parent path> <src>* <dest> create a hadoop archi ve
classpath prints the class path needed to get the
Hadoop jar and the required libraries
daemonlog get/set the log level for each daemon
or
CLASSNAME run the class named CLASSNAME

Most commands print help when invoked w/o parameters.

Praneel Achintya@PraneelAchintya /cygdrive/c/geet/hadoop/hadoopinstall/hadoop-2. 5.1/bin
$ echo $HADOOP_INSTALL
C:\geet\Hadoop\HadoopInstall\hadoop-2.5.1;

Praneel Achintya@PraneelAchintya /cygdrive/c/geet/hadoop/hadoopinstall/hadoop-2. 5.1/bin
$ echo $JAVA_HOME
C:\geet\JavaExec\jdk1.8.0_25

Praneel Achintya@PraneelAchintya /cygdrive/c/geet/hadoop/hadoopinstall/hadoop-2. 5.1/bin
$ echo $path


Praneel Achintya@PraneelAchintya /cygdrive/c/geet/hadoop/hadoopinstall/hadoop-2. 5.1/bin
$ echo $PATH
/usr/local/bin:/usr/bin:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c /Program Files/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Program Fi les (x86)/Common Files/Microsoft Shared/Windows Live:/cygdrive/c/Program Files ( x86)/AMD APP/bin/x86_64:/cygdrive/c/Program Files (x86)/AMD APP/bin/x86:/cygdriv e/c/Program Files (x86)/Intel/iCLS Client:/cygdrive/c/Program Files/Intel/iCLS C lient:/cygdrive/c/windows/system32:/cygdrive/c/windows:/cygdrive/c/windows/Syste m32/Wbem:/cygdrive/c/windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files /Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files (x86) /Intel/Intel(R) Management Engine Components/DAL:/cygdrive/c/Program Files (x86) /Intel/Intel(R) Management Engine Components/IPT:/cygdrive/c/Program Files (x86) /ATI Technologies/ATI.ACE/Core-Static:/cygdrive/c/Program Files (x86)/Windows Li ve/Shared:/cygdrive/c/Program Files/Microsoft SQL Server/110/Tools/Binn:/cygdriv e/c/Program Files/Microsoft/Web Platform Installer:/cygdrive/c/geet/JavaExec/jdk 1.8.0_25/bin:/cygdrive/c/geet/Hadoop/HadoopInstall/hadoop-2.5.1/bin

Praneel Achintya@PraneelAchintya /cygdrive/c/geet/hadoop/hadoopinstall/hadoop-2. 5.1/bin
$ ./hadoop version
Error: Could not find or load main class Achintya
6 years ago
I am trying to run hadoop version command. While doing so, I am getting the below error.

Could not find or load main class Achintya

I can understand that it is looking for Achintya.java file. Achintya is my computer name. Why does it has to look for that class.

I really couldnot fix this issue. I made all the script changes suggested for Could not find or load main class - while executing hadoop version command. but nothing works. Kindly help.
6 years ago
I got my cygwin and hadoop installed on my machine.

I set my JAVA_HOME AND VALUE AS C:\Program Files\Java\jdk1.8.0_25;

I set my HADOOP_INSTALL and value as C:\...\Hadoop\HadoopInstall\hadoop-2.5.1;

I added C:\Program Files\Java\jdk1.8.0_25\bin;C:\...\Hadoop\HadoopInstall\hadoop-2.5.1\bin;

I added the following entries

mapred-site.xml

<configuration>
<property>
<name>mapred.job.tracker</name>
<value>local</value>
</property>
</configuration>

hdfs-site.xml

<configuration>
<property>
<name>dfs.replication</name>
<value>n/a</value>
</property>
</configuration>

core-site.xml

<configuration>
<property>
<name>fs.default.name</name>
<value>file:///</value>;
</property>
</configuration>

hadoop-env.cmd

set JAVA_HOME=C:\ProgramFiles\Java\jdk1.8.0_25 (removed space between Program and Files)

hadoop.cmd

set JAVA_HOME=C:\ProgramFiles\Java\jdk1.8.0_25 (removed space between Program and Files)

hadoop-env.sh

export JAVA_HOME=C:\ProgramFiles\Java\jdk1.8.0_25 (removed space between Program and Files)

When I try to run hadoop version command, it complains

From Windows command (Also ,my hadoop-env.cmd is not in conf directory but with etc (C:\....\Hadoop\HadoopInstall\hadoop-2.5.1\etc))

Error: JAVA_HOME is incorrectly set.
Please update C:\....\Hadoop\HadoopInstall\hadoop-2.5.1\conf\hadoop-env.c
md
'-Xmx512m' is not recognized as an internal or external command,
operable program or batch file.

From Cygwin terminal

/cygdrive/c/..../Hadoop/HadoopInstall/hadoop-2.5.1/bin/hadoop: line 133: C:ProgramFilesJavajdk1.8.0_25/bin/java: No such file or directory
/cygdrive/c/...../Hadoop/HadoopInstall/hadoop-2.5.1/bin/hadoop: line 133: exec: C:ProgramFilesJavajdk1.8.0_25/bin/java: cannot execute: No such file or directory

help me to resolve this issue, please.

6 years ago
I got this fixed. I completely uninstalled it and reinstalled through cygwin. So now no installation issues
6 years ago
while installing, I am getting the following error in windows. I gave full permission to cdrive. even then its coming.

! C:\geet\Hadoop\HadoopInstall\hadoop-2.5.1.tar.gz: Cannot create symbolic link C:\geet\Hadoop\HadoopInstall\hadoop-2.5.1\lib\native\libhdfs.so
A required privilege is not held by the client.
! C:\geet\Hadoop\HadoopInstall\hadoop-2.5.1.tar.gz: Cannot create symbolic link C:\geet\Hadoop\HadoopInstall\hadoop-2.5.1\lib\native\libhadoop.so
A required privilege is not held by the client.
6 years ago
Thanks Chris.
6 years ago
I wanted to explore the features of Hadoop concepts and also planning to do Hadoop Developer and admin exam. So I downloaded Hortonworks Sandbox and doing the examples. I am doing everything through GUI. I want to explore the shell commands as well. I dont know how to ssh. Any suggestions are greatly appreciated.

Thanks,
Geetha
6 years ago
I was reading thro' the link on the IBM test 833 and 834. I found that we can download the trial version of RMC and read the manual from there. Can someone please tell me if I read the Information center for RMC (Rational model composer) would that cover the material from the trial version. I assume the web version is info center and the same material is put in as part of the product.

Can someone please help me out with this.

Also can someone please tell me, If the information center is fine... what version of RMC information center I have to refer to?

Thanks,
Geetha
got it. Thank you so much.
from one jsp, I would like to go to another jsp on a onchange property of text box using javascript. It works fine. but to the next page, I would like to send the query parameter url='abc.aspx?sid=<sessionid>'

so I formed the query string as

<%
String page = abc.aspx
url = "&url=" + Page + "?sid="+ sid;

%>
window.location = "/Issue.jsp?alpha="+document.form1.alpha.value+<%=url%>;

When I do this, In my first page itself, it throws a javascript error saying object not found. can someone help me out with this please?
Thank You so much Naren.
10 years ago
Hello,

As I am new to webservice, can someone tell me what are the various ways to access webservice. I would like to write a client to access the methods in the webservice.

Also, Can you please let me know when should we go for JNDI and when should we go for invocation thro' stub?

Thanks and Regards,
Geetha.
10 years ago