hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Renault <orena...@hortonworks.com>
Subject Re: Working with Capacity Scheduler
Date Tue, 26 Nov 2013 14:35:48 GMT
Sorry my mistake, it's :
mapred queue -showacls

Or you can also use hadoop queue -showacls as suggested by Jitendra

Thanks,
Olviier

On 26 November 2013 14:17, Munna <munnavarsk@gmail.com> wrote:

> Yes! I have executed same command:
>
> [user@host ~]$* yarn queue -showacls*
>
> Exception in thread "main" java.lang.NoClassDefFoundError: queue
> Caused by: java.lang.ClassNotFoundException: queue
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> Could not find the main class: queue.  Program will exit.
>
>
>
> On Tue, Nov 26, 2013 at 7:25 PM, Olivier Renault <orenault@hortonworks.com
> > wrote:
>
>> it should be :
>> yarn queue -showacls
>>
>> Olivier
>>
>>
>> On 26 November 2013 13:28, Munna <munnavarsk@gmail.com> wrote:
>>
>>> Hi Olivier,
>>>
>>> Thank you for your reply.
>>>
>>> As you said, i ran those commands and i am getting following error
>>> message on both the commands.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *[root@host ~]# sudo -u yarn yarn queue -showacls Exception in thread
>>> "main" java.lang.NoClassDefFoundError: queueCaused by:
>>> java.lang.ClassNotFoundException: queue        at
>>> java.net.URLClassLoader$1.run(URLClassLoader.java:202)        at
>>> java.security.AccessController.doPrivileged(Native Method)         at
>>> java.net.URLClassLoader.findClass(URLClassLoader.java:190)        at
>>> java.lang.ClassLoader.loadClass(ClassLoader.java:306)        at
>>> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)        at
>>> java.lang.ClassLoader.loadClass(ClassLoader.java:247) Could not find the
>>> main class: queue.  Program will exit.*
>>>
>>> Regards,
>>> Munna
>>>
>>>
>>>
>>> On Tue, Nov 26, 2013 at 4:10 PM, Olivier Renault <
>>> orenault@hortonworks.com> wrote:
>>>
>>>> Could you maybe send us the output of :
>>>>  - yarn queue -showacls
>>>>  - yarn queue -list
>>>>
>>>> Thanks,
>>>> Olivier
>>>>
>>>>
>>>> On 26 November 2013 05:53, Munna <munnavarsk@gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I working with Capacity Scheduler on YARN and I have configured
>>>>> different queues. I can able to see all the queues on RM ui. But, when
i
>>>>> start to run MR jobs with configured user names(yarn,mapred), i am unable
>>>>> to run the Jobs and job are suspended. Again i set default as FIFO working
>>>>> fine.
>>>>>
>>>>> Can you please help me out sort this issue and configured
>>>>> Configurations are given below.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> *<property>    <name>yarn.scheduler.capacity.root.queues</name>
>>>>> <value>production,exploration</value> </property><property>
>>>>> <name>yarn.scheduler.capacity.root.exploration.queues</name>
>>>>> <value>a,b,c</value></property><property>
>>>>> <name>yarn.scheduler.capacity.root.capacity</name>
>>>>> <value>100</value></property><property>
>>>>> <name>yarn.scheduler.capacity.root.production.capacity</name>
>>>>> <value>70</value></property> <property>
>>>>> <name>yarn.scheduler.capacity.root.exploration.capacity</name>
>>>>> <value>30</value></property><property>
>>>>> <name>yarn.scheduler.capacity.root.exploration.a.capacity</name>
>>>>> <value>30</value></property><property>
>>>>> <name>yarn.scheduler.capacity.root.exploration.b.capacity</name>
>>>>> <value>30</value></property> <property>
>>>>> <name>yarn.scheduler.capacity.root.exploration.c.capacity</name>
>>>>> <value>40</value></property><property>  <name>yarn.scheduler.capacity.root.
>>>>> production.acl_submit_applications</name>
>>>>> <value>yarn,mapred</value></property><property>
   <value>userb</value>
>>>>> <name>yarn.scheduler.capacity.root.exploration.a.acl_submit_applications</name>
>>>>> </property><property>
>>>>> <name>yarn.scheduler.capacity.root.exploration.b.acl_submit_applications</name>
>>>>> <value>userb</value></property><property>
>>>>> <name>yarn.scheduler.capacity.root.exploration.c.acl_submit_applications</name>
>>>>> <value>userc</value></property></configuration>*
>>>>>
>>>>>
>>>>> --
>>>>> *Regards*
>>>>>
>>>>>  *Munna*
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>    * Olivier Renault *       Solution Engineer
>>>> ------------------------------
>>>>
>>>>     Phone:        +44 7500 933 036
>>>>   Email:      orenault@hortonworks.com
>>>>   Website:   http://www.hortonworks.com/
>>>>
>>>>       * Follow Us: *
>>>> <http://facebook.com/hortonworks/?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>
>>>> <http://twitter.com/hortonworks?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>
>>>> <http://www.linkedin.com/company/hortonworks?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>
>>>>
>>>>  [image: photo]
>>>>
>>>>   Latest From Our Blog:  SAP HANA + Hadoop: A Perfect Match <http://hortonworks.com/blog/sap-hana-hadoop-a-perfect-match/?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>
>>>>
>>>> CONFIDENTIALITY NOTICE
>>>> NOTICE: This message is intended for the use of the individual or
>>>> entity to which it is addressed and may contain information that is
>>>> confidential, privileged and exempt from disclosure under applicable law.
>>>> If the reader of this message is not the intended recipient, you are hereby
>>>> notified that any printing, copying, dissemination, distribution,
>>>> disclosure or forwarding of this communication is strictly prohibited. If
>>>> you have received this communication in error, please contact the sender
>>>> immediately and delete it from your system. Thank You.
>>>
>>>
>>>
>>>
>>> --
>>> *Regards*
>>>
>>> *Munna*
>>>
>>
>>
>>
>> --
>>    * Olivier Renault *       Solution Engineer
>> ------------------------------
>>
>>     Phone:        +44 7500 933 036
>>   Email:      orenault@hortonworks.com
>>   Website:   http://www.hortonworks.com/
>>
>>       * Follow Us: *
>> <http://facebook.com/hortonworks/?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>
>> <http://twitter.com/hortonworks?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>
>> <http://www.linkedin.com/company/hortonworks?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>
>>
>>  [image: photo]
>>
>>   Latest From Our Blog:  SAP HANA + Hadoop: A Perfect Match <http://hortonworks.com/blog/sap-hana-hadoop-a-perfect-match/?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>
>>
>> CONFIDENTIALITY NOTICE
>> NOTICE: This message is intended for the use of the individual or entity
>> to which it is addressed and may contain information that is confidential,
>> privileged and exempt from disclosure under applicable law. If the reader
>> of this message is not the intended recipient, you are hereby notified that
>> any printing, copying, dissemination, distribution, disclosure or
>> forwarding of this communication is strictly prohibited. If you have
>> received this communication in error, please contact the sender immediately
>> and delete it from your system. Thank You.
>>
>
>
>
> --
> *Regards*
>
> *Munna*
>



-- 
   * Olivier Renault *       Solution Engineer
------------------------------

    Phone:        +44 7500 933 036
  Email:      orenault@hortonworks.com
  Website:   http://www.hortonworks.com/

      * Follow Us: *
<http://facebook.com/hortonworks/?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>
<http://twitter.com/hortonworks?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>
<http://www.linkedin.com/company/hortonworks?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>

 [image: photo]

  Latest From Our Blog:  SAP HANA + Hadoop: A Perfect Match
<http://hortonworks.com/blog/sap-hana-hadoop-a-perfect-match/?utm_source=WiseStamp&utm_medium=email&utm_term=&utm_content=&utm_campaign=signature>

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.

Mime
View raw message