<?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 What is the value of ${falcon.app.type} and where is defined in falcon? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-value-of-falcon-app-type-and-where-is-defined-in/m-p/187933#M150031</link>
    <description />
    <pubDate>Thu, 02 Nov 2017 14:36:48 GMT</pubDate>
    <dc:creator>palash_dutta</dc:creator>
    <dc:date>2017-11-02T14:36:48Z</dc:date>
    <item>
      <title>What is the value of ${falcon.app.type} and where is defined in falcon?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-value-of-falcon-app-type-and-where-is-defined-in/m-p/187933#M150031</link>
      <description />
      <pubDate>Thu, 02 Nov 2017 14:36:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-value-of-falcon-app-type-and-where-is-defined-in/m-p/187933#M150031</guid>
      <dc:creator>palash_dutta</dc:creator>
      <dc:date>2017-11-02T14:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: What is the value of ${falcon.app.type} and where is defined in falcon?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-value-of-falcon-app-type-and-where-is-defined-in/m-p/187934#M150032</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/39477/palashdutta.html" nodeid="39477"&gt;@Palash Dutta&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;The value of falcon.app.type is "falcon" by default. It is passed as a run time parameter while starting falcon server. In your falcon host you can run the below command and see "-Dfalcon.app.type=falcon"&lt;/P&gt;&lt;PRE&gt;ps -ef | grep falcon&lt;/PRE&gt;&lt;P&gt;The flow is like this. falcon_start.py -&amp;gt; service_start.py -&amp;gt; service-start.sh . The falcon_start.py passes "falcon" as the argument to service_start.py where falcon is the falcon.app.type. Attaching the snippet below of falcon_start.py&lt;/P&gt;&lt;PRE&gt;service_start_cmd = os.path.join(base_dir, 'bin', 'service_start.py')
subprocess.call(['python', service_start_cmd, 'falcon', other_args])&lt;/PRE&gt;&lt;P&gt;You can find these scripts under /usr/hdp/&amp;lt;hdp-version&amp;gt;/falcon/bin.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 14:54:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-value-of-falcon-app-type-and-where-is-defined-in/m-p/187934#M150032</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2017-11-02T14:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: What is the value of ${falcon.app.type} and where is defined in falcon?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-value-of-falcon-app-type-and-where-is-defined-in/m-p/187935#M150033</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/39477/palashdutta.html" nodeid="39477"&gt;@Palash Dutta&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This is the Falcon Run time option added as a Java System property as following:&lt;/P&gt;&lt;PRE&gt;# grep 'falcon.app.type' /usr/hdp/current/falcon-server/bin/falcon.distro 
${JAVA_BIN} ${JAVA_PROPERTIES} -cp ${FALCONCPPATH} -Dfalcon.log.dir=$HOME  -Dfalcon.app.type=client org.apache.falcon.cli.FalconCLI "${@}"&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Also in the startup script:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# grep 'falcon.app.type' /usr/hdp/current/falcon-server/bin/service-start.sh 
JAVA_PROPERTIES="$FALCON_OPTS $FALCON_PROPERTIES -Dfalcon.log.dir=$FALCON_LOG_DIR -Dfalcon.embeddedmq.data=$FALCON_DATA_DIR -Dfalcon.home=${FALCON_HOME_DIR} -Dconfig.location=$FALCON_CONF -Dfalcon.app.type=$APP_TYPE -Dfalcon.catalog.service.enabled=$CATALOG_ENABLED"&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;And the &lt;STRONG&gt;"APP_TYPE=$1" (See Script "&lt;/STRONG&gt;service-start.sh")   APP_TYPE is passed as an argument while starting the process. &lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 14:54:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-value-of-falcon-app-type-and-where-is-defined-in/m-p/187935#M150033</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-11-02T14:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: What is the value of ${falcon.app.type} and where is defined in falcon?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-value-of-falcon-app-type-and-where-is-defined-in/m-p/187936#M150034</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14200/asirna.html" nodeid="14200"&gt;@Aditya Sirna&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks Aditya&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 15:35:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-value-of-falcon-app-type-and-where-is-defined-in/m-p/187936#M150034</guid>
      <dc:creator>palash_dutta</dc:creator>
      <dc:date>2017-11-02T15:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: What is the value of ${falcon.app.type} and where is defined in falcon?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/What-is-the-value-of-falcon-app-type-and-where-is-defined-in/m-p/187937#M150035</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt;&lt;P&gt; Thanks Jay&lt;/P&gt;</description>
      <pubDate>Thu, 02 Nov 2017 15:36:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/What-is-the-value-of-falcon-app-type-and-where-is-defined-in/m-p/187937#M150035</guid>
      <dc:creator>palash_dutta</dc:creator>
      <dc:date>2017-11-02T15:36:22Z</dc:date>
    </item>
  </channel>
</rss>

