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

ASF GitHub Bot commented on S2GRAPH-70:
---------------------------------------

Github user jongwook commented on a diff in the pull request:

    https://github.com/apache/incubator-s2graph/pull/57#discussion_r66261184
  
    --- Diff: s2core/build.sbt ---
    @@ -26,15 +26,18 @@ libraryDependencies ++= Seq(
       "com.typesafe" % "config" % "1.2.1",
       "com.typesafe.play" %% "play-json" % Common.playVersion,
       "com.typesafe.akka" %% "akka-actor" % "2.3.4",
    -  "org.apache.hbase" % "hbase-client" % Common.hbaseVersion excludeAll 
ExclusionRule(organization = "org.slf4j"),
    -  "org.apache.hbase" % "hbase-common" % Common.hbaseVersion excludeAll 
ExclusionRule(organization = "org.slf4j"),
    -  "org.apache.hbase" % "hbase-server" % Common.hbaseVersion 
excludeAll(ExclusionRule(organization = "org.slf4j"), 
ExclusionRule(organization = "com.google.protobuf")),
    -  "org.apache.hadoop" % "hadoop-common" % Common.hadoopVersion excludeAll 
ExclusionRule(organization = "org.slf4j"),
    +  "com.google.guava" % "guava" % "12.0.1" force(), // use this old version 
of guava to avoid incompatibility
    +  "org.apache.hbase" % "hbase-client" % Common.hbaseVersion 
exclude("org.slf4j", "*"),
    +  "org.apache.hbase" % "hbase-common" % Common.hbaseVersion 
exclude("org.slf4j", "*"),
    +  "org.apache.hbase" % "hbase-server" % Common.hbaseVersion 
exclude("org.slf4j", "*") exclude("com.google.protobuf", "*"),
    +  "org.apache.hbase" % "hbase-hadoop-compat" % Common.hbaseVersion 
exclude("org.slf4j", "*"),
    +  "org.apache.hbase" % "hbase-hadoop2-compat" % Common.hbaseVersion 
exclude("org.slf4j", "*"),
    +  "org.apache.kafka" % "kafka-clients" % "0.8.2.0" exclude("org.slf4j", 
"*") exclude("com.sun.jdmk", "*") exclude("com.sun.jmx", "*") 
exclude("javax.jms", "*"),
       "commons-pool" % "commons-pool" % "1.6",
       "org.scalatest" %% "scalatest" % "2.2.4" % "test",
       "org.scalikejdbc" %% "scalikejdbc" % "2.1.+",
       "mysql" % "mysql-connector-java" % "5.1.28",
    --- End diff --
    
    Well, technically mysql-connector-java.jar Is required only if the user 
needs to use mysql as metastore, but I guess it's easier to just include 
mysql-connector in the UX perspective because they can just change JDBC url in 
application.conf without downloading jar from Oracle or Maven central manually. 


> Automate the process of building a distribution package
> -------------------------------------------------------
>
>                 Key: S2GRAPH-70
>                 URL: https://issues.apache.org/jira/browse/S2GRAPH-70
>             Project: S2Graph
>          Issue Type: Improvement
>            Reporter: Jong Wook Kim
>
> Since the Vagrant image (which is the only documented way to trying out 
> S2Graph) is outdated, and also as a prerequisite of making a release, it is 
> desirable to be able to readily make a distribution package. The goal is to 
> be able for an end-user to download & untar the package, and run a shell 
> script to start off s2graph and all its dependencies.
> AFAIK S2graph requires mysql for storing the metadata and HBase for the 
> actual data. Both could be contained in the package if:
> - we run HBase server that is in the hbase-server jar, running without HDFS, 
> saving data in the local filesystem instead, and 
> - instead of the full MySQL server, use an embedded database like derby or h2 
> to store the metadata.
> It would also require some technical consideration about how exactly we 
> should layout the files and what toolchain we should use to build the 
> package, so I think adding child issues for each subtask would be appropriate.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to