incubator-bigtop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnny Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BIGTOP-730) add tarball driver into Bigtop
Date Tue, 09 Oct 2012 22:56:03 GMT

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

Johnny Zhang commented on BIGTOP-730:
-------------------------------------

@Roman, thanks for the comments, I plan to add below classes

in bigtop-test-framework/src/main/groovy/org/apache/bigtop/itest/pmanager
{noformat}
class ManagedTar extends PackageInstance {
......
public List<String> getFiles()
......
public Map<String, Service> getServices()
......
public List<String> getDocs()
......
}
{noformat}
and
{noformat}
class TarCmdLinePackageManager extends PackageManager {
......
public int install(PackageInstance pkg)
......
public int remove(PackageInstance pkg)
......
public boolean isInstalled(PackageInstance pkg)
......
}
{noformat}
also need to modify PackageInstance.groovy and PackageManager.groovy so that it can handle
4 types: yum, apt, zypper, tar

in bigtop-tests/test-artifacts/package/src/main/groovy/org/apache/bigtop/itest/packagesmoke
{noformat}
TarTestCommon.groovy
TestTarDeploy.groovy
TestTarServices.groovy
{noformat}

in bigtop-tests/test-artifacts/package/src/main/resources, add a new dir "tar" to include
the tarball file manifest xml file
                
> add tarball driver into Bigtop
> ------------------------------
>
>                 Key: BIGTOP-730
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-730
>             Project: Bigtop
>          Issue Type: New Feature
>          Components: Deployment
>    Affects Versions: 0.5.0
>            Reporter: Johnny Zhang
>            Assignee: Johnny Zhang
>             Fix For: 0.5.0
>
>
> We should have a tarball driver for each component, it will be:
> * convenient for people to deploy tarball to run map reduce job in a single VM
> * Whirr is only for EC2, but we want this tarball driver be generic for Linux user.
> * driver should deploy Hadoop tarball by default when deploy other tarball like Hive
tarball, or Pig tarball
> * driver should be able to deploy multiple projects. For example, if user choose Hive+Pig,
then driver will deploy Hadoop tarball + both Hive,Pig tarball
> * The version of each project tarball will be same as the version of project Bigtop 0.5
shipped
> I already have a prototype, and I am thinking about where to put it and a suitable way
to invoke it as a user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message