[ 
https://issues.apache.org/jira/browse/BIGTOP-194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137699#comment-13137699
 ] 

Bruno Mahé commented on BIGTOP-194:
-----------------------------------

And after that patch, here is what I get:

[bruno@Marsupilami bigtop-packages]$ egrep -r source *
src/rpm/hive/SOURCES/install_hive.sh:     ... [ see source for more similar 
options ]
src/rpm/hadoop/SPECS/hadoop.spec:%package source
src/rpm/hadoop/SPECS/hadoop.spec:%description source
src/rpm/hadoop/SPECS/hadoop.spec:The Java source code for Hadoop and its 
contributed packages. This is handy when
src/rpm/hadoop/SPECS/hadoop.spec:%files source
src/rpm/oozie/SPECS/oozie.spec: libraries, Pig scripts, and other resource 
files.
src/rpm/hbase/SPECS/hbase.spec:HBase is an open-source, distributed, 
column-oriented store modeled after Google' Bigtable: A Distributed Storage 
System for Structured Data by Chang et al. Just as Bigtable leverages the 
distributed data storage provided by the Google File System, HBase provides 
Bigtable-like capabilities on top of Hadoop. HBase includes:
src/rpm/hbase/SPECS/hbase.spec:    * Cascading source and sink modules
src/rpm/hbase/SPECS/hbase.spec:"Thrift is a software framework for scalable 
cross-language services development. It combines a powerful software stack with 
a code generation engine to build services that work efficiently and seamlessly 
between C++, Java, Python, PHP, and Ruby. Thrift was developed at Facebook, and 
we are now releasing it as open source." For additional information, see 
http://developers.facebook.com/thrift/. Facebook has announced their intent to 
migrate Thrift into Apache Incubator.
src/deb/hive/control:Depends: hadoop-hive (= ${source:Version})
src/deb/hive/control:Depends: hadoop-hive (= ${source:Version})
src/deb/hadoop/rules:   dh_install --sourcedir=debian/tmp -i
src/deb/hadoop/rules:   dh_install --sourcedir=debian/tmp -s
src/deb/hadoop/service-init.d.tpl:# hadoop-config.sh is sourced below since it 
sets HADOOP_PID_DIR if
src/deb/hadoop/control:Depends: ${shlibs:Depends}, hadoop (= 
${source:Version}), liblzo2-2, libzip1
src/deb/hadoop/control:Depends: ${shlibs:Depends}, hadoop (= ${source:Version})
src/deb/hadoop/control:Depends: ${shlibs:Depends}, hadoop (= 
${source:Version}), libfuse2, fuse-utils
src/deb/hadoop/control:Package: hadoop-source
src/deb/hadoop/control:Provides: hadoop-source
src/deb/hadoop/control: This package contains the source code for Hadoop and 
its contrib modules.
src/deb/hadoop/control:Depends: hadoop (= ${source:Version}), hadoop-namenode 
(= ${source:Version}), hadoop-datanode (= ${source:Version}), 
hadoop-secondarynamenode (= ${source:Version}), hadoop-jobtracker (= 
${source:Version}), hadoop-tasktracker (= ${source:Version})
src/deb/hadoop/control:Depends: hadoop (= ${source:Version})
src/deb/hadoop/control:Depends: hadoop (= ${source:Version})
src/deb/hadoop/control:Depends: hadoop (= ${source:Version})
src/deb/hadoop/control:Depends: hadoop (= ${source:Version})
src/deb/hadoop/control:Depends: hadoop (= ${source:Version})
src/deb/hadoop/control:Depends: hadoop (= ${source:Version})
src/deb/hadoop/control:Depends: hadoop (= ${source:Version}), ${shlibs:Depends}
src/deb/hadoop/control:Depends: hadoop (= ${source:Version}), libhdfs0 (= 
${binary:Version})
src/deb/oozie/control:Depends: oozie-client (= ${source:Version}), hadoop
src/deb/oozie/control: libraries, Pig scripts, and other resource files.
src/deb/hbase/rules:    dh_install --sourcedir=debian/tmp
src/deb/hbase/control:Depends: hadoop-hbase (= ${source:Version}) 
src/deb/hbase/control:Depends: hadoop-hbase (= ${source:Version}) 
src/deb/hbase/control:Depends: hadoop-hbase (= ${source:Version}) 
src/deb/flume/control:Depends: flume (= ${source:Version})
src/deb/flume/control:Depends: flume (= ${source:Version})
src/deb/zookeeper/control:Depends: hadoop-zookeeper (= ${source:Version})
src/deb/sqoop/control:Depends: sqoop (= ${source:Version}), adduser
src/common/hive/install_hive.sh:     ... [ see source for more similar options ]
src/common/hive/hive-site.xml:<!-- resource).                                   
                                              -->
src/common/pig/install_pig.sh:     ... [ see source for more similar options ]
src/common/bigtop-utils/LICENSE:      including but not limited to software 
source code, documentation
src/common/bigtop-utils/LICENSE:      source, and configuration files.
src/common/bigtop-utils/LICENSE:      communication on electronic mailing 
lists, source code control systems,
src/common/hadoop/install_hadoop.sh:     ... [ see source for more similar 
options ]
src/common/hadoop/install_hadoop.sh:# And copy the source
src/common/hadoop/install_hadoop.sh:# Install source
src/common/oozie/do-component-build:# Resolve source directory
src/common/oozie/do-component-build:  EXTRA_GOALS="${EXTRA_GOALS} source:jar 
deploy"
src/common/oozie/do-component-build:# (TODO: Consider doing the source copy 
before the build if we can assume a clean checkout.)
src/common/whirr/install_whirr.sh:     ... [ see source for more similar 
options ]
src/common/whirr/whirr.1:Terminate and cleanup resources for a running cluster.
src/common/whirr/do-component-build:mvn clean -Pjavadoc site source:jar package 
assembly:assembly -DskipTests "$@" 
src/common/hbase/install_hbase.sh:     ... [ see source for more similar 
options ]
src/common/hbase/hbase.1:HBase is an open-source, distributed, versioned, 
column-oriented store
src/common/flume/install_flume.sh:     ... [ see source for more similar 
options ]
src/common/zookeeper/install_zookeeper.sh:     ... [ see source for more 
similar options ]
src/common/zookeeper/install_zookeeper.sh:rm build/zookeeper-*-sources.jar
src/common/sqoop/install_sqoop.sh:     ... [ see source for more similar 
options ]
src/common/mahout/install_mahout.sh:     ... [ see source for more similar 
options ]

                
> source is not a sh(1) command
> -----------------------------
>
>                 Key: BIGTOP-194
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-194
>             Project: Bigtop
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 0.1.0
>            Reporter: Roman Shaposhnik
>            Assignee: Bruno Mahé
>             Fix For: 0.2.0
>
>         Attachments: 0001-BIGTOP-194.-Replace-source-by.patch
>
>
> /bin/sh on debian tries to behave like a real sh(1), not bash(1). Hence 
> source foo gets the following treatment:
>    source: not found
> This is especially bad now since we try to source JAVA_HOME discovery code in 
> just about everything.
> This is surely a blocker for 0.2.0

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to