bigtop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Boudnik <...@apache.org>
Subject Re: ignite-hadoop install issue
Date Wed, 04 May 2016 19:34:59 GMT
[moving user@bigtop.a.o to Bcc:]

The first part would be to figure out why these dependencies are popping up at
all. Evidently, something in the ignite-hadoop make yum to believe they exist,
although I wasn't able to find any traces while building from the source code.

Producing an rpm while retaining the original BUILD directory is a bit tricky
because we are using rpmbuild --rebuild, which performs automatic cleanup of
the build directories. I am personally using a somewhat dirty hack. Namely, in
the 
    bigtop-packages/src/rpm/ignite-hadoop/SPECS/ignite-hadoop.spec

@@ -169,6 +169,8 @@ chmod 755 $init_file
 # Pull hadoop from their packages
 rm -f $RPM_BUILD_ROOT/%{lib_ignite}/libs/{hadoop}*.jar
 
+exit 123
+
 %pre
 getent group ignite 2>/dev/null >/dev/null || /usr/sbin/groupadd -r ignite
 getent passwd ignite 2>&1 > /dev/null || /usr/sbin/useradd -c "ignite" -s /sbin/nologin
-g ignite -r -d /var/run/ignite ign

that will fail the build right before the clean up happens and you will find
the pre-built ignite workspace under
    build/ignite-hadoop/rpm/BUILD/ignite-hadoop-1.5.0.final

I wish there's a cleaner way to do it, but for whatever reason '--rebuild
--noclean' doesn't work (I suspect it is yet another bug in the rpm).

Once you figure out that's missing, the fix should be pretty simple and most
likely require some adjustments to
    bigtop-packages/src/common/ignite-hadoop/install_ignite.sh
and, perhaps, control files of the deb and rpm packages.

While investigating, you might also want to check with ignite community
(dev@ignite.a.o) if they have any ideas. I have already started the thread
there with the ref. to the JIRA.

Don't hesitate to communicate any issues back to the dev@ list, so we can
help. Thanks!
  Cos

On Wed, May 04, 2016 at 02:24PM, Artem Ervits wrote:
> I would like to try it out. For the moon in the room, can you in just a few
> sentences describe what I need to do?
> 
> My idea is check out the source for ignite, build locally, document any
> quirks, submit PR? I am not clear how an RPM generates errors but you say
> building from src is fine.
> On May 4, 2016 2:39 AM, "Konstantin Boudnik" <cos@apache.org> wrote:
> 
> > if you want to take a shot at fixing it - that'd be great! Otherwise,
> > someone
> > will pick up the ticket and provide a fix. At which point updated packages
> > will be available from our CI server.
> >
> > Cos
> >
> > On Wed, May 04, 2016 at 02:29AM, Artem Ervits wrote:
> > > So to satisfy my own curiosity here, what happens next?
> > > On May 3, 2016 8:35 PM, "Konstantin Boudnik" <cos@apache.org> wrote:
> > >
> > > > Well, the ignite-hadoop package is clearly missing the dependencies. I
> > have
> > > > opened https://issues.apache.org/jira/browse/BIGTOP-2421
> > > >
> > > > Thanks for catching and reporting, Artem
> > > >
> > > > Cos
> > > >
> > > > On Sun, May 01, 2016 at 10:54AM, Konstantin Boudnik wrote:
> > > > > It is still on my plate to investigate. But looks like ignite 1.5
has
> > > > > introduced some bad packaging issues with their addition of osgi
> > support.
> > > > >
> > > > > I have tried to put on the Ignite on Ubuntu a couple of times and
> > > > haven't seen
> > > > > this issue there. Looks like I will have a bit of time in the next
> > day
> > > > or two,
> > > > > so I will try to get to the bottom of it.
> > > > >
> > > > > Cos
> > > > >
> > > > > On Sun, May 01, 2016 at 01:17PM, Artem Ervits wrote:
> > > > > > Im reading through recent archives and see same error with other
> > > > installs,
> > > > > > is the workaround to work with CentOS 6?
> > > > > > On May 1, 2016 10:59 AM, "Artem Ervits" <artemervits@gmail.com>
> > wrote:
> > > > > >
> > > > > > > I'm running vagrant deploy and on provisioning I received
> > > > ignite-hadoop
> > > > > > > errors, once machine was up, I tried to manually install
> > > > ignite-hadoop and
> > > > > > > received the below. I'm using 1.1.0 repo, should I build
the rpms
> > > > locally?
> > > > > > >
> > > > > > > [root@bigtop1 ~]# yum install -y ignite-hadoop osgi
> > --skip-broken
> > > > > > > Loaded plugins: fastestmirror
> > > > > > > Loading mirror speeds from cached hostfile
> > > > > > >  * base: mirror.cisp.com
> > > > > > >  * extras: denver.gaminghost.co
> > > > > > >  * updates: repos.lax.quadranet.com
> > > > > > > No package osgi available.
> > > > > > > Resolving Dependencies
> > > > > > > --> Running transaction check
> > > > > > > ---> Package ignite-hadoop.noarch 0:1.5.0.final-1.el7.centos
> > will be
> > > > > > > installed
> > > > > > > --> Processing Dependency:
> > > > osgi(org.apache.servicemix.bundles.spring-tx)
> > > > > > > for package: ignite-hadoop-1.5.0.final-1.el7.centos.noarch
> > > > > > > --> Processing Dependency:
> > > > osgi(org.apache.servicemix.bundles.spring-jdbc)
> > > > > > > for package: ignite-hadoop-1.5.0.final-1.el7.centos.noarch
> > > > > > > --> Processing Dependency:
> > > > > > > osgi(org.apache.servicemix.bundles.spring-expression) for
> > package:
> > > > > > > ignite-hadoop-1.5.0.final-1.el7.centos.noarch
> > > > > > > --> Processing Dependency:
> > > > osgi(org.apache.servicemix.bundles.spring-core)
> > > > > > > for package: ignite-hadoop-1.5.0.final-1.el7.centos.noarch
> > > > > > > --> Processing Dependency:
> > > > > > > osgi(org.apache.servicemix.bundles.spring-context-support)
for
> > > > package:
> > > > > > > ignite-hadoop-1.5.0.final-1.el7.centos.noarch
> > > > > > > --> Processing Dependency:
> > > > > > > osgi(org.apache.servicemix.bundles.spring-context) for
package:
> > > > > > > ignite-hadoop-1.5.0.final-1.el7.centos.noarch
> > > > > > > --> Processing Dependency:
> > > > > > > osgi(org.apache.servicemix.bundles.spring-beans) for package:
> > > > > > > ignite-hadoop-1.5.0.final-1.el7.centos.noarch
> > > > > > >
> > > > > > > Packages skipped because of dependency problems:
> > > > > > >     ignite-hadoop-1.5.0.final-1.el7.centos.noarch from
Bigtop
> > > > > > >
> > > > > > >
> > > > > > >
> > > >
> > > >
> > > >
> >

Mime
View raw message