You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by Young Lucky <in...@gmail.com> on 2015/11/17 04:50:44 UTC

Are there source rpms provided?

Hello,

Could someone let me know if there are hadoop related source rpms provided
by bigtop. You know. sometimes the user need the source rpm to do the
rebuild?

Thanks!

Re: Are there source rpms provided?

Posted by Evans Ye <ev...@apache.org>.
Thanks Olaf.
You're answer is more comprehensive.
ignore mine.

2015-11-17 17:37 GMT+08:00 Olaf Flebbe <of...@oflebbe.de>:

> Hi
>
> Sorry Evans, this is not exactly true.
>
> We build source RPM's and they work in some sense.
>
> - They do not work in a plain environment since it depends on our
> toolchain installed (see Bigtop wiki on how to install)
> - They need some special command line options for rebuilding.
>    --define _topdir
>    --define $NAME_version
>    --define $NAME_base
>    --define $NAME_release
>
>    (see task $target-rpm in packages.gradle)
>
> One definetly can rebuild with the source rpm provided, but we would have
> to document it.
>
> If the SRPM is missing something, it is a bug and please report.
>
>
> Olaf
>
>
>
>
>
> > Am 17.11.2015 um 07:32 schrieb Evans Ye <ev...@apache.org>:
> >
> > No. We don't have source rpms provided.
> > I suggest you to build from source tarball (tar.gz), which you can
> rebuild and do code changes as well.
> > If you have any further questions, please reply on user list. :)
> >
> > 2015-11-17 11:50 GMT+08:00 Young Lucky <in...@gmail.com>:
> > Hello,
> >
> > Could someone let me know if there are hadoop related source rpms
> provided
> > by bigtop. You know. sometimes the user need the source rpm to do the
> > rebuild?
> >
> > Thanks!
> >
>
>

Re: Are there source rpms provided?

Posted by Olaf Flebbe <of...@oflebbe.de>.
Hi

Sorry Evans, this is not exactly true.

We build source RPM's and they work in some sense.

- They do not work in a plain environment since it depends on our toolchain installed (see Bigtop wiki on how to install)
- They need some special command line options for rebuilding.
   --define _topdir
   --define $NAME_version
   --define $NAME_base
   --define $NAME_release

   (see task $target-rpm in packages.gradle)

One definetly can rebuild with the source rpm provided, but we would have to document it.

If the SRPM is missing something, it is a bug and please report.


Olaf





> Am 17.11.2015 um 07:32 schrieb Evans Ye <ev...@apache.org>:
> 
> No. We don't have source rpms provided.
> I suggest you to build from source tarball (tar.gz), which you can rebuild and do code changes as well.
> If you have any further questions, please reply on user list. :)
> 
> 2015-11-17 11:50 GMT+08:00 Young Lucky <in...@gmail.com>:
> Hello,
> 
> Could someone let me know if there are hadoop related source rpms provided
> by bigtop. You know. sometimes the user need the source rpm to do the
> rebuild?
> 
> Thanks!
> 


Re: Are there source rpms provided?

Posted by Evans Ye <ev...@apache.org>.
Oh, I saw you grab his attention in BIGTOP-2151. That's great!

2015-11-19 2:01 GMT+08:00 Evans Ye <ev...@apache.org>:

> Sorry to spin you around. Now it sound like a dev issue ;)
> I must to say this beyond my knowledge and I suggest you to turn to Olaf's
> help who is currently the most active expert on this in Bigtop.
>
> 2015-11-18 22:03 GMT+08:00 Young Lucky <in...@gmail.com>:
>
>> Hi Evans,
>>
>> I could build the rpms with bigtop and I could also get the source rpms
>> there. Meanwhile, I found the hadoop source rpm missed some files, like
>> init-hdfs.sh, init-hcfs.json,init-hcfs.groovy etc. I can fix these by
>> adding the Source into the hadoop.spec. But for the directory like
>> conf.empty, I don't know how to add it into the source rpm. Could you give
>> some hints on this?
>>
>> Thanks a lot!
>>
>> 2015-11-17 14:32 GMT+08:00 Evans Ye <ev...@apache.org>:
>>
>>> No. We don't have source rpms provided.
>>> I suggest you to build from source tarball (tar.gz), which you can
>>> rebuild and do code changes as well.
>>> If you have any further questions, please reply on user list. :)
>>>
>>> 2015-11-17 11:50 GMT+08:00 Young Lucky <in...@gmail.com>:
>>>
>>>> Hello,
>>>>
>>>> Could someone let me know if there are hadoop related source rpms
>>>> provided
>>>> by bigtop. You know. sometimes the user need the source rpm to do the
>>>> rebuild?
>>>>
>>>> Thanks!
>>>>
>>>
>>>
>>
>

Re: Are there source rpms provided?

Posted by Evans Ye <ev...@apache.org>.
Sorry to spin you around. Now it sound like a dev issue ;)
I must to say this beyond my knowledge and I suggest you to turn to Olaf's
help who is currently the most active expert on this in Bigtop.

2015-11-18 22:03 GMT+08:00 Young Lucky <in...@gmail.com>:

> Hi Evans,
>
> I could build the rpms with bigtop and I could also get the source rpms
> there. Meanwhile, I found the hadoop source rpm missed some files, like
> init-hdfs.sh, init-hcfs.json,init-hcfs.groovy etc. I can fix these by
> adding the Source into the hadoop.spec. But for the directory like
> conf.empty, I don't know how to add it into the source rpm. Could you give
> some hints on this?
>
> Thanks a lot!
>
> 2015-11-17 14:32 GMT+08:00 Evans Ye <ev...@apache.org>:
>
>> No. We don't have source rpms provided.
>> I suggest you to build from source tarball (tar.gz), which you can
>> rebuild and do code changes as well.
>> If you have any further questions, please reply on user list. :)
>>
>> 2015-11-17 11:50 GMT+08:00 Young Lucky <in...@gmail.com>:
>>
>>> Hello,
>>>
>>> Could someone let me know if there are hadoop related source rpms
>>> provided
>>> by bigtop. You know. sometimes the user need the source rpm to do the
>>> rebuild?
>>>
>>> Thanks!
>>>
>>
>>
>

Re: Are there source rpms provided?

Posted by Evans Ye <ev...@apache.org>.
Sorry to spin you around. Now it sound like a dev issue ;)
I must to say this beyond my knowledge and I suggest you to turn to Olaf's
help who is currently the most active expert on this in Bigtop.

2015-11-18 22:03 GMT+08:00 Young Lucky <in...@gmail.com>:

> Hi Evans,
>
> I could build the rpms with bigtop and I could also get the source rpms
> there. Meanwhile, I found the hadoop source rpm missed some files, like
> init-hdfs.sh, init-hcfs.json,init-hcfs.groovy etc. I can fix these by
> adding the Source into the hadoop.spec. But for the directory like
> conf.empty, I don't know how to add it into the source rpm. Could you give
> some hints on this?
>
> Thanks a lot!
>
> 2015-11-17 14:32 GMT+08:00 Evans Ye <ev...@apache.org>:
>
>> No. We don't have source rpms provided.
>> I suggest you to build from source tarball (tar.gz), which you can
>> rebuild and do code changes as well.
>> If you have any further questions, please reply on user list. :)
>>
>> 2015-11-17 11:50 GMT+08:00 Young Lucky <in...@gmail.com>:
>>
>>> Hello,
>>>
>>> Could someone let me know if there are hadoop related source rpms
>>> provided
>>> by bigtop. You know. sometimes the user need the source rpm to do the
>>> rebuild?
>>>
>>> Thanks!
>>>
>>
>>
>

Re: Are there source rpms provided?

Posted by Evans Ye <ev...@apache.org>.
No. We don't have source rpms provided.
I suggest you to build from source tarball (tar.gz), which you can rebuild
and do code changes as well.
If you have any further questions, please reply on user list. :)

2015-11-17 11:50 GMT+08:00 Young Lucky <in...@gmail.com>:

> Hello,
>
> Could someone let me know if there are hadoop related source rpms provided
> by bigtop. You know. sometimes the user need the source rpm to do the
> rebuild?
>
> Thanks!
>