Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.1.0
    • Fix Version/s: 0.2.0
    • Component/s: General
    • Labels:
      None

      Description

      /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

        Activity

        Gavin made changes -
        Workflow no-reopen-closed, patch-avail [ 12639807 ] patch-available, re-open possible [ 12665873 ]
        Bruno Mahé made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Bruno Mahé made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Roman Shaposhnik added a comment -

        +1. Massive work!

        Show
        Roman Shaposhnik added a comment - +1. Massive work!
        Bruno Mahé made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Hide
        Bruno Mahé added a comment -

        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 ]

        Show
        Bruno Mahé added a comment - 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 ]
        Bruno Mahé made changes -
        Field Original Value New Value
        Attachment 0001-BIGTOP-194.-Replace-source-by.patch [ 12501185 ]
        Hide
        Bruno Mahé added a comment -

        Massive replace of source by .

        Show
        Bruno Mahé added a comment - Massive replace of source by .
        Roman Shaposhnik created issue -

          People

          • Assignee:
            Bruno Mahé
            Reporter:
            Roman Shaposhnik
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development