Description of problem: I've tested hive with RHS+Hadoop and "apps/hive/warehouse" directory was not created by rhs-hadoop-install script. Version-Release number of selected component (if applicable): glusterfs-3.4.0.44rhs-1.el6rhs.x86_64 glusterfs-fuse-3.4.0.44rhs-1.el6rhs.x86_64 glusterfs-geo-replication-3.4.0.44rhs-1.el6rhs.x86_64 glusterfs-libs-3.4.0.44rhs-1.el6rhs.x86_64 glusterfs-server-3.4.0.44rhs-1.el6rhs.x86_64 hadoop-2.2.0.2.0.6.0-101.el6.x86_64 hadoop-client-2.2.0.2.0.6.0-101.el6.x86_64 hadoop-hdfs-2.2.0.2.0.6.0-101.el6.x86_64 hadoop-libhdfs-2.2.0.2.0.6.0-101.el6.x86_64 hadoop-lzo-0.5.0-1.x86_64 hadoop-lzo-native-0.5.0-1.x86_64 hadoop-mapreduce-2.2.0.2.0.6.0-101.el6.x86_64 hadoop-mapreduce-historyserver-2.2.0.2.0.6.0-101.el6.x86_64 hadoop-yarn-2.2.0.2.0.6.0-101.el6.x86_64 hadoop-yarn-nodemanager-2.2.0.2.0.6.0-101.el6.x86_64 hadoop-yarn-resourcemanager-2.2.0.2.0.6.0-101.el6.x86_64 python-rhsm-1.8.17-1.el6_4.x86_64 redhat-storage-logos-60.0.17-1.el6rhs.noarch rhs-hadoop-2.1.6-2.noarch rhs-hadoop-install-0_65-2.el6rhs.noarch How reproducible: 100% Actual results: apps/hive/warehouse is not there. Expected results: rhs-hadoop-install script creates apps/hive/warehouse directory.
Hi Martin, Why do you think that rhs-hadoop-install needs to create this dir? According to Steve, Hive instructions, including instructions from Hortonworks, the user is expected to create this directory before running hive.
Hi Jeff, few notes: * I didn't found it in the Hortonworks instructions for Ambari[1] (but I maybe just miss it!) <- supported type of installation for rhs-hadoop * It is in the instructions from Hortonworks for *manual installation from RPM* [2] <- unsupported type of installation for rhs-hadoop * The instructions[2] are not precisely correct, because they start: "Login as $HDFS_USER" which doesn't make sense for GlusterFS environment. * rhs-hadoop-install script is already creating some other directories (mapred, mr-history, app-logs, hbase,...) which are documented in HDP documentation [3] I'm not sure if creating this directory automatically in rhs-hadoop-install script is ok (hbase directory is the same case!), but it should be at least clarified in our documentation. [1] http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.6.0/bk_using_Ambari_book/content/ambari-include-setup.html [2] http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.6.0/bk_installing_manually_book/content/rpm-chap6-4.html [3] http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.6.0/bk_installing_manually_book/content/rpm-chap4-4.html
Per bug triage, between dev, PM and QA, moving these out of denali
Per Apr-02 bug triage meeting, granting both devel and pm acks
BZs not targeted for Denali.
The 2.x version of the installer fixes this issue.
Tested with versions: glusterfs-3.6.0.30-1.el6rhs.x86_64 glusterfs-rdma-3.6.0.30-1.el6rhs.x86_64 glusterfs-libs-3.6.0.30-1.el6rhs.x86_64 glusterfs-fuse-3.6.0.30-1.el6rhs.x86_64 glusterfs-server-3.6.0.30-1.el6rhs.x86_64 glusterfs-cli-3.6.0.30-1.el6rhs.x86_64 glusterfs-geo-replication-3.6.0.30-1.el6rhs.x86_64 glusterfs-api-3.6.0.30-1.el6rhs.x86_64 glusterfs-hadoop-distribution-glusterfs-hadoop-setup_common-0.2-72.noarch glusterfs-hadoop-distribution-glusterfs-hadoop-setup_gluster-0.2-54.noarch glusterfs-hadoop-distribution-glusterfs-hadoop-setup_hadoop-0.1-84.noarch hadoop-client-2.4.0.2.1.7.0-784.el6.x86_64 hadoop-mapreduce-2.4.0.2.1.7.0-784.el6.x86_64 hadoop-yarn-2.4.0.2.1.7.0-784.el6.x86_64 hadoop-hdfs-2.4.0.2.1.7.0-784.el6.x86_64 hadoop-2.4.0.2.1.7.0-784.el6.x86_64 rhs-hadoop-install-2_28-1.el6rhs.noarch rhs-hadoop-2.3.3-3.el6rhs.noarch grep -R /usr/share/rhs-hadoop-install "warehouse" ./bin/gen_dirs.sh:post_processing_dirs=....apps/hive/warehouse:0755:hive.... And directory indeed exist after installation. -> VERIFIED
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2014-1275.html