<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Ho to run solr index job in a specific yarn queue in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ho-to-run-solr-index-job-in-a-specific-yarn-queue/m-p/161187#M36650</link>
    <description>&lt;P&gt;Team,&lt;/P&gt;&lt;P&gt;When i run solr index job then it run in default queue so is there any property or solution where I can change it to some other queue. &lt;/P&gt;&lt;P&gt;[root@m2 solr]# &lt;STRONG&gt;hadoop jar
/opt/lucidworks-hdpsearch/job/lucidworks-hadoop-job-2.0.3.jar
&lt;/STRONG&gt;com.lucidworks.hadoop.ingest.IngestJob -DcsvFieldMapping=0=id,1=cat,2=name,3=price,4=instock,5=author
-DcsvFirstLineComment -DidField=id -DcsvDelimiter=","
-Dlww.commit.on.close=true -cls com.lucidworks.hadoop.ingest.CSVIngestMapper -c
test -i csv/* -of com.lucidworks.hadoop.io.LWMapRedOutputFormat -zk m1.hdp22:2181,m2.hdp22:2181,w1.hdp22:2181/solr&lt;/P&gt;</description>
    <pubDate>Tue, 02 Aug 2016 20:14:02 GMT</pubDate>
    <dc:creator>SK1</dc:creator>
    <dc:date>2016-08-02T20:14:02Z</dc:date>
    <item>
      <title>Ho to run solr index job in a specific yarn queue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ho-to-run-solr-index-job-in-a-specific-yarn-queue/m-p/161187#M36650</link>
      <description>&lt;P&gt;Team,&lt;/P&gt;&lt;P&gt;When i run solr index job then it run in default queue so is there any property or solution where I can change it to some other queue. &lt;/P&gt;&lt;P&gt;[root@m2 solr]# &lt;STRONG&gt;hadoop jar
/opt/lucidworks-hdpsearch/job/lucidworks-hadoop-job-2.0.3.jar
&lt;/STRONG&gt;com.lucidworks.hadoop.ingest.IngestJob -DcsvFieldMapping=0=id,1=cat,2=name,3=price,4=instock,5=author
-DcsvFirstLineComment -DidField=id -DcsvDelimiter=","
-Dlww.commit.on.close=true -cls com.lucidworks.hadoop.ingest.CSVIngestMapper -c
test -i csv/* -of com.lucidworks.hadoop.io.LWMapRedOutputFormat -zk m1.hdp22:2181,m2.hdp22:2181,w1.hdp22:2181/solr&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 20:14:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ho-to-run-solr-index-job-in-a-specific-yarn-queue/m-p/161187#M36650</guid>
      <dc:creator>SK1</dc:creator>
      <dc:date>2016-08-02T20:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Ho to run solr index job in a specific yarn queue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ho-to-run-solr-index-job-in-a-specific-yarn-queue/m-p/161188#M36651</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2273/saurabhmcakiet.html" nodeid="2273"&gt;@Saurabh Kumar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I think you can use an option "queue" to specify the queue. Please see line 133 of SolrClient.java here.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/lucidworks/yarn-proto/blob/master/src/main/java/org/apache/solr/cloud/yarn/SolrClient.java" target="_blank"&gt;https://github.com/lucidworks/yarn-proto/blob/master/src/main/java/org/apache/solr/cloud/yarn/SolrClient.java&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also, follow this instruction if you run into any issue.&lt;/P&gt;&lt;P&gt;&lt;A href="https://lucidworks.com/blog/2014/12/01/solr-yarn/" target="_blank"&gt;https://lucidworks.com/blog/2014/12/01/solr-yarn/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 22:52:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ho-to-run-solr-index-job-in-a-specific-yarn-queue/m-p/161188#M36651</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2016-08-02T22:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Ho to run solr index job in a specific yarn queue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ho-to-run-solr-index-job-in-a-specific-yarn-queue/m-p/161189#M36652</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10969/mqureshi.html" nodeid="10969"&gt;@mqureshi&lt;/A&gt;:  I tried but getting below error.&lt;/P&gt;&lt;P&gt;[solr@m1 solr]$ hadoop jar /opt/lucidworks-hdpsearch/job/lucidworks-hadoop-job-2.0.3.jar -queue=ado com.lucidworks.hadoop.ingest.IngestJob -DcsvFieldMapping=0=id,1=cat,2=name,3=price,4=instock,5=author -DcsvFirstLineComment -DidField=id -DcsvDelimiter="," -Dlww.commit.on.close=true -cls com.lucidworks.hadoop.ingest.CSVIngestMapper -c test -i csv/* -of com.lucidworks.hadoop.io.LWMapRedOutputFormat -zk m1.hdp22:2181,m2.hdp22:2181,w1.hdp22:2181/solr&lt;/P&gt;&lt;P&gt;WARNING: Use "yarn jar" to launch YARN applications.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Exception in thread "main" java.lang.ClassNotFoundException: -queue=ado&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;at java.net.URLClassLoader$1.run(URLClassLoader.java:366)&lt;/P&gt;&lt;P&gt;at java.net.URLClassLoader$1.run(URLClassLoader.java:355)&lt;/P&gt;&lt;P&gt;at java.security.AccessController.doPrivileged(Native Method)&lt;/P&gt;&lt;P&gt;at java.net.URLClassLoader.findClass(URLClassLoader.java:354)&lt;/P&gt;&lt;P&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:425)&lt;/P&gt;&lt;P&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:358)&lt;/P&gt;&lt;P&gt;at java.lang.Class.forName0(Native Method)&lt;/P&gt;&lt;P&gt;at java.lang.Class.forName(Class.java:270)&lt;/P&gt;&lt;P&gt;at org.apache.hadoop.util.RunJar.run(RunJar.java:214)&lt;/P&gt;&lt;P&gt;at org.apache.hadoop.util.RunJar.main(RunJar.java:136)&lt;/P&gt;&lt;P&gt;I also tested below one but getting same error.&lt;/P&gt;&lt;P&gt;[solr@m1 solr]$ yarn jar /opt/lucidworks-hdpsearch/job/lucidworks-hadoop-job-2.0.3.jar -queue=ado com.lucidworks.hadoop.ingest.IngestJob -DcsvFieldMapping=0=id,1=cat,2=name,3=price,4=instock,5=author -DcsvFirstLineComment -DidField=id -DcsvDelimiter="," -Dlww.commit.on.close=true -cls com.lucidworks.hadoop.ingest.CSVIngestMapper -c test -i csv/* -of com.lucidworks.hadoop.io.LWMapRedOutputFormat -zk m1.hdp22:2181,m2.hdp22:2181,w1.hdp22:2181/solr&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Exception in thread "main" java.lang.ClassNotFoundException: -queue=ado&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;at java.net.URLClassLoader$1.run(URLClassLoader.java:366)&lt;/P&gt;&lt;P&gt;at java.net.URLClassLoader$1.run(URLClassLoader.java:355)&lt;/P&gt;&lt;P&gt;at java.security.AccessController.doPrivileged(Native Method)&lt;/P&gt;&lt;P&gt;at java.net.URLClassLoader.findClass(URLClassLoader.java:354)&lt;/P&gt;&lt;P&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:425)&lt;/P&gt;&lt;P&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:358)&lt;/P&gt;&lt;P&gt;at java.lang.Class.forName0(Native Method)&lt;/P&gt;&lt;P&gt;at java.lang.Class.forName(Class.java:270)&lt;/P&gt;&lt;P&gt;at org.apache.hadoop.util.RunJar.run(RunJar.java:214)&lt;/P&gt;&lt;P&gt;at org.apache.hadoop.util.RunJar.main(RunJar.java:136)&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 23:58:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ho-to-run-solr-index-job-in-a-specific-yarn-queue/m-p/161189#M36652</guid>
      <dc:creator>SK1</dc:creator>
      <dc:date>2016-08-02T23:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Ho to run solr index job in a specific yarn queue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ho-to-run-solr-index-job-in-a-specific-yarn-queue/m-p/161190#M36653</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/2273/saurabhmcakiet.html" nodeid="2273"&gt;@Saurabh Kumar&lt;/A&gt;&lt;P&gt;You might be following a different set of instructions. The one i am looking at uses solr-yarn.jar and here is the format&lt;/P&gt;&lt;P&gt;hadoop jar solr-yarn.jar org.apache.solr.cloud.yarn.SolrClient&lt;/P&gt;&lt;P&gt;-nodes=2&lt;/P&gt;&lt;P&gt;-zkHost=localhost:2181&lt;/P&gt;&lt;P&gt;-solr=hdfs://localhost:9000/solr/solr.tgz&lt;/P&gt;&lt;P&gt;-jar=hdfs://localhost:9000/solr/solr-yarn.jar&lt;/P&gt;&lt;P&gt;-memory 512&lt;/P&gt;&lt;P&gt;-hdfs_home=hdfs://localhost:9000/solr/index_data&lt;/P&gt;&lt;P&gt;This is where I think you should be able to add "-queue=&amp;lt;queue name&amp;gt;"&lt;/P&gt;&lt;P&gt;did you try following the instructions on this link? the class name which supports "queue" is not in the command you are running. Is it possible for you to try the following?&lt;/P&gt;&lt;P&gt;&lt;A href="https://lucidworks.com/blog/2014/12/01/solr-yarn/" target="_blank"&gt;https://lucidworks.com/blog/2014/12/01/solr-yarn/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 01:37:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ho-to-run-solr-index-job-in-a-specific-yarn-queue/m-p/161190#M36653</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2016-08-03T01:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Ho to run solr index job in a specific yarn queue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ho-to-run-solr-index-job-in-a-specific-yarn-queue/m-p/161191#M36654</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2273/saurabhmcakiet.html" nodeid="2273"&gt;@Saurabh Kumar&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;If your command is going to launch a Yarn job then how about adding -Dmapreduce.job.queuename=&amp;lt;queue-name&amp;gt; ?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 09:28:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ho-to-run-solr-index-job-in-a-specific-yarn-queue/m-p/161191#M36654</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-08-03T09:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: Ho to run solr index job in a specific yarn queue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ho-to-run-solr-index-job-in-a-specific-yarn-queue/m-p/161192#M36655</link>
      <description>&lt;P&gt;Thanks a lot &lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt; it is working for this jar. &lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 13:21:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ho-to-run-solr-index-job-in-a-specific-yarn-queue/m-p/161192#M36655</guid>
      <dc:creator>SK1</dc:creator>
      <dc:date>2016-08-03T13:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ho to run solr index job in a specific yarn queue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ho-to-run-solr-index-job-in-a-specific-yarn-queue/m-p/161193#M36656</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/10969/mqureshi.html" nodeid="10969"&gt;@mqureshi&lt;/A&gt;. It is working now when I changed my jar to solr-yarn.jar. Actually earlier I was using separate jar program to create solr index. As Kuldeep mentioned I tried that property and it worked for my old program as well.  &lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 13:23:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ho-to-run-solr-index-job-in-a-specific-yarn-queue/m-p/161193#M36656</guid>
      <dc:creator>SK1</dc:creator>
      <dc:date>2016-08-03T13:23:39Z</dc:date>
    </item>
  </channel>
</rss>

