HTTP Fs Installation


Some steps are specific to MapR Cluster. Ignore those steps.

1. Setup Yum repositories for MapR

2. Check for the packages

          yum list mapr-httpfs

3. Install ==> yum install mapr-httpfs

4. Configure the core-site.xml and httpfs-site.xml properties to add impersonations
                                      
          <property>
              <name>hadoop.proxyuser.#HTTPFSUSER#.hosts</name>
              <value>httpfs-host.foo.com</value>
          </property>
            <property>
                   <name>hadoop.proxyuser.#HTTPFSUSER#.groups</name>
                   <value>*</value>
            </property>
              
          Replace the #HTTPFSUSER# with the mapr user

5. start the httpfs service

              /opt/mapr/httpfs/httpfs-1.2/bin/httpfs.sh start

6. Make sure the service is running on port 14000

7. Run ./configure.sh -R to make the service configuration refreshed and the httpfs service will be visible in MCS


Testing the installation
Curl some path in file system from terminal


This will list the files under the directory


Refer here for using Httpfs




Comments

Popular posts from this blog

Querying MapR DB tables from Drill

OpenSSL Certificate creations