[prev in list] [next in list] [prev in thread] [next in thread]
List: hadoop-user
Subject: Re: Start/stop scripts - particularly start-dfs.sh - in Hortonworks Data Platform 2.3.X
From: Dejan Menges <dejan.menges () gmail ! com>
Date: 2015-10-24 17:31:37
Message-ID: CAEf6Z5KnuKRs9jz_1ChCbA+vsSdMKZjZ8uzJ8zdKhuKF1gJOrg () mail ! gmail ! com
[Download RAW message or body]
Hi Stephen,
In /usr/hdp/version there's etc/ subfolder with init scripts, beside others
one for datanode too (hadoop-hdfs-datanode is the name).
Cheers
On Oct 24, 2015 7:00 PM, "Stephen Boesch" <javadba@gmail.com> wrote:
> OK I will continue on hdp list: I am already using the hdfs command for
> all of those individual commands but they are *not* a replacement for the
> single start-dfs.sh
>
>
>
> 2015-10-24 9:48 GMT-07:00 Ted Yu <yuzhihong@gmail.com>:
>
>> See /usr/hdp/current/hadoop-hdfs-client/bin/hdfs which calls hdfs.distro
>>
>> At the top of hdfs.distro, you would see the usage:
>>
>> function print_usage(){
>> echo "Usage: hdfs [--config confdir] COMMAND"
>> echo " where COMMAND is one of:"
>> echo " dfs run a filesystem command on the file
>> systems supported in Hadoop."
>> echo " namenode -format format the DFS filesystem"
>> echo " secondarynamenode run the DFS secondary namenode"
>> echo " namenode run the DFS namenode"
>> echo " journalnode run the DFS journalnode"
>>
>> BTW since this question is vendor specific, I suggest continuing on
>> vendor's forum.
>>
>> Cheers
>>
>> On Fri, Oct 23, 2015 at 7:06 AM, Stephen Boesch <javadba@gmail.com>
>> wrote:
>>
>>>
>>> We are setting up automated deployments on a headless system: so using
>>> the GUI is not an option here. When we search for those scripts under
>>> HDP they are not found:
>>>
>>> $ pwd
>>> /usr/hdp/current
>>>
>>> Which scripts exist in HDP ?
>>>
>>> [stack@s1-639016 current]$ find -L . -name \*.sh
>>> ...
>>>
>>> There are ZERO start/stop sh scripts..
>>>
>>> In particular I am interested in the *start-dfs.sh* script that starts
>>> the namenode(s) , journalnode, and datanodes.
>>>
>>>
>>
>
[Attachment #3 (text/html)]
<p dir="ltr">Hi Stephen,</p>
<p dir="ltr">In /usr/hdp/version there's etc/ subfolder with init scripts, beside \
others one for datanode too (hadoop-hdfs-datanode is the name).</p> <p \
dir="ltr">Cheers</p> <div class="gmail_quote">On Oct 24, 2015 7:00 PM, "Stephen \
Boesch" <<a href="mailto:javadba@gmail.com">javadba@gmail.com</a>> \
wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">OK I will continue \
on hdp list: I am already using the hdfs command for all of those individual commands \
but they are *not* a replacement for the single \
start-dfs.sh<div><br></div><div><br></div></div><div class="gmail_extra"><br><div \
class="gmail_quote">2015-10-24 9:48 GMT-07:00 Ted Yu <span dir="ltr"><<a \
href="mailto:yuzhihong@gmail.com" \
target="_blank">yuzhihong@gmail.com</a>></span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">See \
/usr/hdp/current/hadoop-hdfs-client/bin/hdfs which calls \
hdfs.distro<div><br></div><div>At the top of hdfs.distro, you would see the \
usage:</div><div><br></div><div><div>function print_usage(){</div><div> echo \
"Usage: hdfs [--config confdir] COMMAND"</div><div> echo " \
where COMMAND is one of:"</div><div> echo " dfs \
run a filesystem command on the file systems supported in Hadoop."</div><div> \
echo " namenode -format format the DFS filesystem"</div><div> \
echo " secondarynamenode run the DFS secondary namenode"</div><div> \
echo " namenode run the DFS namenode"</div><div> echo \
" journalnode run the DFS \
journalnode"</div></div><div><br></div><div>BTW since this question is vendor \
specific, I suggest continuing on vendor's \
forum.</div><div><br></div><div>Cheers</div></div><div><div><div \
class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 23, 2015 at 7:06 AM, \
Stephen Boesch <span dir="ltr"><<a href="mailto:javadba@gmail.com" \
target="_blank">javadba@gmail.com</a>></span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div><br></div><div><div style="margin:0px 0px \
5px;padding:0px;border:0px;font-size:15px;width:660px;word-wrap:break-word;line-height:1.3;font-family:'Helvetica \
Neue',Helvetica,Arial,sans-serif"><p style="margin:0px 0px \
1em;padding:0px;border:0px;clear:both">We are setting up automated deployments on a \
headless system: so using the GUI is not an option here. <span \
style="line-height:1.3">When we search for those scripts under HDP they are not \
found:</span></p><pre \
style="margin-top:0px;padding:5px;border:0px;font-size:13px;overflow:auto;width:auto;max-height:600px;font-family:Consolas,Menlo,Monaco,'Lucida \
Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera \
Sans Mono','Courier \
New',monospace,sans-serif;word-wrap:normal;background-color:rgb(238,238,238)"><code \
style="margin:0px;padding:0px;border:0px;font-family:Consolas,Menlo,Monaco,'Lucida \
Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera \
Sans Mono','Courier \
New',monospace,sans-serif;white-space:inherit">$ pwd
/usr/hdp/current
</code></pre><p style="margin:0px 0px 1em;padding:0px;border:0px;clear:both">Which \
scripts exist in HDP ? </p><pre \
style="margin-top:0px;padding:5px;border:0px;font-size:13px;overflow:auto;width:auto;max-height:600px;font-family:Consolas,Menlo,Monaco,'Lucida \
Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera \
Sans Mono','Courier \
New',monospace,sans-serif;word-wrap:normal;background-color:rgb(238,238,238)"><code \
style="margin:0px;padding:0px;border:0px;font-family:Consolas,Menlo,Monaco,'Lucida \
Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera \
Sans Mono','Courier \
New',monospace,sans-serif;white-space:inherit">[stack@s1-639016 current]$ find -L \
. -name \*.sh
...</code></pre><pre \
style="margin-top:0px;padding:5px;border:0px;font-size:13px;overflow:auto;width:auto;max-height:600px;font-family:Consolas,Menlo,Monaco,'Lucida \
Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera \
Sans Mono','Courier \
New',monospace,sans-serif;word-wrap:normal;background-color:rgb(238,238,238)"><span \
style="font-family:'Helvetica \
Neue',Helvetica,Arial,sans-serif;font-size:15px;line-height:1.3;white-space:inherit;background-color:rgb(255,255,255)">There \
are ZERO start/stop sh scripts..</span><br></pre><p style="margin:0px 0px \
1em;padding:0px;border:0px;clear:both">In particular I am interested in the <strong \
style="margin:0px;padding:0px;border:0px">start-dfs.sh</strong> script that starts \
the namenode(s) , journalnode, and datanodes.</p><div><br></div></div></div></div> \
</blockquote></div><br></div> </div></div></blockquote></div><br></div>
</blockquote></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic