<?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 Re: Apache Flink Tutorials, Examples and HDP Install Guides in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Apache-Flink-Tutorials-Examples-and-HDP-Install-Guides/m-p/96207#M59535</link>
    <description>&lt;P&gt;I just tried this recently. Couple of options:&lt;/P&gt;&lt;P&gt;1. Compilation on HDP 2.3:&lt;/P&gt;&lt;PRE&gt;curl -o /etc/yum.repos.d/epel-apache-maven.repo &lt;A href="https://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo" target="_blank"&gt;https://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo&lt;/A&gt;
yum -y install apache-maven-3.2*
git clone &lt;A href="https://github.com/apache/flink.git" target="_blank"&gt;https://github.com/apache/flink.git&lt;/A&gt;
cd flink
mvn clean install -DskipTests -Dhadoop.version=2.7.1.2.3.2.0-2950 -Pvendor-repos
&lt;/PRE&gt;&lt;P&gt;2. Download prebuilt tarball:&lt;/P&gt;&lt;PRE&gt;wget &lt;A href="http://www.gtlib.gatech.edu/pub/apache/flink/flink-0.9.1/flink-0.9.1-bin-hadoop27.tgz" target="_blank"&gt;http://www.gtlib.gatech.edu/pub/apache/flink/flink-0.9.1/flink-0.9.1-bin-hadoop27.tgz&lt;/A&gt;
tar xvzf  flink-0.9.1-bin-hadoop27.tgz
cd flink-0.9.1
export HADOOP_CONF_DIR=/etc/hadoop/conf
./bin/yarn-session.sh -n 1 -jm 768 -tm 1024
&lt;/PRE&gt;&lt;P&gt;3. Experimental Ambari service:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/abajwa-hw/ambari-flink-service"&gt;https://github.com/abajwa-hw/ambari-flink-service&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Once its up, run word count example&lt;/P&gt;&lt;PRE&gt;export HADOOP_CONF_DIR=/etc/hadoop/conf
./bin/flink run ./examples/flink-java-examples-0.9.1-WordCount.jar
&lt;/PRE&gt;</description>
    <pubDate>Thu, 29 Oct 2015 23:26:28 GMT</pubDate>
    <dc:creator>abajwa</dc:creator>
    <dc:date>2015-10-29T23:26:28Z</dc:date>
    <item>
      <title>Apache Flink Tutorials, Examples and HDP Install Guides</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Flink-Tutorials-Examples-and-HDP-Install-Guides/m-p/96206#M59534</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;Does anyone have any steps for installing Flink on HDP? And any tutorials/examples of using Flink? Maybe with Hive ORC tables?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2015 23:16:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Flink-Tutorials-Examples-and-HDP-Install-Guides/m-p/96206#M59534</guid>
      <dc:creator>awatson</dc:creator>
      <dc:date>2015-10-29T23:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Flink Tutorials, Examples and HDP Install Guides</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Apache-Flink-Tutorials-Examples-and-HDP-Install-Guides/m-p/96207#M59535</link>
      <description>&lt;P&gt;I just tried this recently. Couple of options:&lt;/P&gt;&lt;P&gt;1. Compilation on HDP 2.3:&lt;/P&gt;&lt;PRE&gt;curl -o /etc/yum.repos.d/epel-apache-maven.repo &lt;A href="https://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo" target="_blank"&gt;https://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo&lt;/A&gt;
yum -y install apache-maven-3.2*
git clone &lt;A href="https://github.com/apache/flink.git" target="_blank"&gt;https://github.com/apache/flink.git&lt;/A&gt;
cd flink
mvn clean install -DskipTests -Dhadoop.version=2.7.1.2.3.2.0-2950 -Pvendor-repos
&lt;/PRE&gt;&lt;P&gt;2. Download prebuilt tarball:&lt;/P&gt;&lt;PRE&gt;wget &lt;A href="http://www.gtlib.gatech.edu/pub/apache/flink/flink-0.9.1/flink-0.9.1-bin-hadoop27.tgz" target="_blank"&gt;http://www.gtlib.gatech.edu/pub/apache/flink/flink-0.9.1/flink-0.9.1-bin-hadoop27.tgz&lt;/A&gt;
tar xvzf  flink-0.9.1-bin-hadoop27.tgz
cd flink-0.9.1
export HADOOP_CONF_DIR=/etc/hadoop/conf
./bin/yarn-session.sh -n 1 -jm 768 -tm 1024
&lt;/PRE&gt;&lt;P&gt;3. Experimental Ambari service:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/abajwa-hw/ambari-flink-service"&gt;https://github.com/abajwa-hw/ambari-flink-service&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Once its up, run word count example&lt;/P&gt;&lt;PRE&gt;export HADOOP_CONF_DIR=/etc/hadoop/conf
./bin/flink run ./examples/flink-java-examples-0.9.1-WordCount.jar
&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Oct 2015 23:26:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Apache-Flink-Tutorials-Examples-and-HDP-Install-Guides/m-p/96207#M59535</guid>
      <dc:creator>abajwa</dc:creator>
      <dc:date>2015-10-29T23:26:28Z</dc:date>
    </item>
  </channel>
</rss>

