Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> REPOST: How to adapt bin/hdfs for executing from outside $HADOOP_HOME/bin?


Copy link to this message
-
Re: REPOST: How to adapt bin/hdfs for executing from outside $HADOOP_HOME/bin?
So why don't you ask for someone with write access to put the file there?

2011/5/19 Gabriele Kahlout <[EMAIL PROTECTED]>:
> so your question is, why do you have the problem in the first place?
> because it's not in $HADOOP_HOME/bin (older hadoop) and I don't have wrtie
> access.
>
> On Thu, May 19, 2011 at 3:33 PM, Joey Echeverria <[EMAIL PROTECTED]> wrote:
>
>> Why do you need to move the script from $HADOOP_HOME/bin?
>>
>> Can't you just symlink it or write a script which runs the original?
>>
>> -Joey
>>
>> On May 19, 2011, at 4:15, Gabriele Kahlout <[EMAIL PROTECTED]>
>> wrote:
>>
>> > I'm still having the following problem, any suggestions?
>> >
>> > I'm trying to modify the
>> > hdfs<
>> http://svn.apache.org/viewvc/hadoop/hdfs/tags/release-0.21.0/bin/hdfs?view=markup
>> >script
>>  > so that it still functions although not located in $HADOOP_HOME/bin
>> > anymore, but when I execute the modified hdfs I get:
>> >
>> > hdfs: line 110: exec: org.apache.hadoop.fs.FsShell: not found
>> >
>> > line 110 is:
>> >
>> > exec "$JAVA" $JAVA_HEAP_MAX $HADOOP_OPTS $CLASS "$@"
>> >
>> > I've highlighted the changes I made to the script:
>> >
>> > bin=*"$HADOOP_HOME"/bin # was* dirname "$0" bin=cd "$bin"; pwd
>> >
>> > ./*hdfs-config.sh # was .* "$bin"/hdfs-config.sh
>> >
>> >
>> > On Mon, May 16, 2011 at 12:20 PM, Gabriele Kahlout <
>> [EMAIL PROTECTED]
>> >> wrote:
>> >
>> >> http://stackoverflow.com/q/6015818/300248
>> >>
>> >> --
>> >> Regards,
>> >> K. Gabriele
>> >>
>> >> --- unchanged since 20/9/10 ---
>> >> P.S. If the subject contains "[LON]" or the addressee acknowledges the
>> >> receipt within 48 hours then I don't resend the email.
>> >> subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧
>> >> time(x) < Now + 48h) ⇒ ¬resend(I, this).
>> >>
>> >> If an email is sent by a sender that is not a trusted contact or the
>> email
>> >> does not contain a valid code then the email is not received. A valid
>> code
>> >> starts with a hyphen and ends with "X".
>> >> ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
>> >> L(-[a-z]+[0-9]X)).
>> >>
>> >>
>> >
>> >
>> > --
>> > Regards,
>> > K. Gabriele
>> >
>> > --- unchanged since 20/9/10 ---
>> > P.S. If the subject contains "[LON]" or the addressee acknowledges the
>> > receipt within 48 hours then I don't resend the email.
>> > subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧
>> time(x)
>> > < Now + 48h) ⇒ ¬resend(I, this).
>> >
>> > If an email is sent by a sender that is not a trusted contact or the
>> email
>> > does not contain a valid code then the email is not received. A valid
>> code
>> > starts with a hyphen and ends with "X".
>> > ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
>> > L(-[a-z]+[0-9]X)).
>>
>
>
>
> --
> Regards,
> K. Gabriele
>
> --- unchanged since 20/9/10 ---
> P.S. If the subject contains "[LON]" or the addressee acknowledges the
> receipt within 48 hours then I don't resend the email.
> subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x)
> < Now + 48h) ⇒ ¬resend(I, this).
>
> If an email is sent by a sender that is not a trusted contact or the email
> does not contain a valid code then the email is not received. A valid code
> starts with a hyphen and ends with "X".
> ∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
> L(-[a-z]+[0-9]X)).
>

--
Met vriendelijke groeten,

Niels Basjes
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB