You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by tedyu <gi...@git.apache.org> on 2014/08/11 19:22:33 UTC

[GitHub] spark pull request: SPARK-1297 Upgrade HBase dependency to 0.98

GitHub user tedyu opened a pull request:

    https://github.com/apache/spark/pull/1893

    SPARK-1297 Upgrade HBase dependency to 0.98

    Two profiles are added to examples/pom.xml :
    hbase-hadoop1 (default)
    hbase-hadoop2
    
    I verified that compilation passes with either profile active.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tedyu/spark master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/1893.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1893
    
----
commit 70fb7b4ea8fd7647e4a4ddca4df71521b749521c
Author: tedyu <yu...@gmail.com>
Date:   2014-08-11T17:21:13Z

    SPARK-1297 Upgrade HBase dependency to 0.98

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-1297 Upgrade HBase dependency to 0.98

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1893#discussion_r16067104
  
    --- Diff: examples/pom.xml ---
    @@ -45,6 +45,39 @@
             </dependency>
           </dependencies>
         </profile>
    +    <profile>
    +      <id>hbase-hadoop2</id>
    +      <activation>
    +        <property>
    +          <name>hbase.profile</name>
    +          <value>hadoop2</value>
    +        </property>
    +      </activation>
    +      <properties>
    +        <protobuf.version>2.5.0</protobuf.version>
    +        <hbase.version>0.98.4-hadoop2</hbase.version>
    +      </properties>
    +      <dependencyManagement>
    +        <dependencies>
    +        </dependencies>
    +      </dependencyManagement>
    +    </profile>
    +    <profile>
    +      <id>hbase-hadoop1</id>
    +      <activation>
    +        <property>
    +          <name>!hbase.profile</name>
    +        </property>
    +      </activation>
    +      <properties>
    +        <hbase.version>0.98.4-hadoop1</hbase.version>
    --- End diff --
    
    There's already an `hbase.version` in the parent. This would need to be removed anyway. So why not just use it? it's possible people already use this to override the version in their own build. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-1297 Upgrade HBase dependency to 0.98

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1893#discussion_r16066884
  
    --- Diff: examples/pom.xml ---
    @@ -110,36 +143,52 @@
           <version>${project.version}</version>
         </dependency>
         <dependency>
    -      <groupId>org.apache.hbase</groupId>
    -      <artifactId>hbase</artifactId>
    -      <version>${hbase.version}</version>
    -      <exclusions>
    -        <exclusion>
    -          <groupId>asm</groupId>
    -          <artifactId>asm</artifactId>
    -        </exclusion>
    -        <exclusion>
    -          <groupId>org.jboss.netty</groupId>
    -          <artifactId>netty</artifactId>
    -        </exclusion>
    -        <exclusion>
    -          <groupId>io.netty</groupId>
    -          <artifactId>netty</artifactId>
    -        </exclusion>
    -        <exclusion>
    -          <groupId>commons-logging</groupId>
    -          <artifactId>commons-logging</artifactId>
    -        </exclusion>
    -        <exclusion>
    -          <groupId>org.jruby</groupId>
    -          <artifactId>jruby-complete</artifactId>
    -        </exclusion>
    -      </exclusions>
    -    </dependency>
    -    <dependency>
           <groupId>org.eclipse.jetty</groupId>
           <artifactId>jetty-server</artifactId>
         </dependency>
    +      <dependency>
    +        <groupId>org.apache.hbase</groupId>
    +        <artifactId>hbase-testing-util</artifactId>
    +        <version>${hbase.version}</version>
    +        <exclusions>
    +          <exclusion>
    +            <groupId>org.jruby</groupId>
    +            <artifactId>jruby-complete</artifactId>
    +          </exclusion>
    +        </exclusions>
    +      </dependency>
    +      <dependency>
    +        <groupId>org.apache.hbase</groupId>
    +        <artifactId>hbase-protocol</artifactId>
    +        <version>${hbase.version}</version>
    +      </dependency>
    +      <dependency>
    +        <groupId>org.apache.hbase</groupId>
    +        <artifactId>hbase-common</artifactId>
    +        <version>${hbase.version}</version>
    +      </dependency>
    +      <dependency>
    +        <groupId>org.apache.hbase</groupId>
    --- End diff --
    
    Have you checked that none of the deps that were excluded before need to be excluded again? for example we don't want Commons Logging or any Netty coming in.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-1297 Upgrade HBase dependency to 0.98

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/1893#issuecomment-54694481
  
    Can one of the admins verify this patch?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-1297 Upgrade HBase dependency to 0.98

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1893#discussion_r16066804
  
    --- Diff: examples/pom.xml ---
    @@ -45,6 +45,39 @@
             </dependency>
           </dependencies>
         </profile>
    +    <profile>
    +      <id>hbase-hadoop2</id>
    +      <activation>
    +        <property>
    +          <name>hbase.profile</name>
    +          <value>hadoop2</value>
    +        </property>
    +      </activation>
    +      <properties>
    +        <protobuf.version>2.5.0</protobuf.version>
    +        <hbase.version>0.98.4-hadoop2</hbase.version>
    +      </properties>
    +      <dependencyManagement>
    +        <dependencies>
    +        </dependencies>
    +      </dependencyManagement>
    +    </profile>
    +    <profile>
    +      <id>hbase-hadoop1</id>
    +      <activation>
    +        <property>
    +          <name>!hbase.profile</name>
    +        </property>
    +      </activation>
    +      <properties>
    +        <hbase.version>0.98.4-hadoop1</hbase.version>
    --- End diff --
    
    Is it worth managing the HBase version in the parent POM? because I think it will eventually be reused by another HBase module. At least the `0.98.4` part.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-1297 Upgrade HBase dependency to 0.98

Posted by tedyu <gi...@git.apache.org>.
Github user tedyu closed the pull request at:

    https://github.com/apache/spark/pull/1893


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-1297 Upgrade HBase dependency to 0.98

Posted by tedyu <gi...@git.apache.org>.
Github user tedyu commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1893#discussion_r16068638
  
    --- Diff: examples/pom.xml ---
    @@ -45,6 +45,39 @@
             </dependency>
           </dependencies>
         </profile>
    +    <profile>
    +      <id>hbase-hadoop2</id>
    +      <activation>
    +        <property>
    +          <name>hbase.profile</name>
    +          <value>hadoop2</value>
    +        </property>
    +      </activation>
    +      <properties>
    +        <protobuf.version>2.5.0</protobuf.version>
    +        <hbase.version>0.98.4-hadoop2</hbase.version>
    +      </properties>
    +      <dependencyManagement>
    +        <dependencies>
    +        </dependencies>
    +      </dependencyManagement>
    +    </profile>
    +    <profile>
    +      <id>hbase-hadoop1</id>
    +      <activation>
    +        <property>
    +          <name>!hbase.profile</name>
    +        </property>
    +      </activation>
    +      <properties>
    +        <hbase.version>0.98.4-hadoop1</hbase.version>
    --- End diff --
    
    When hbase.version is specified on command line, that should be effective, right ?



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-1297 Upgrade HBase dependency to 0.98

Posted by tedyu <gi...@git.apache.org>.
Github user tedyu commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1893#discussion_r16068521
  
    --- Diff: examples/pom.xml ---
    @@ -110,36 +143,52 @@
           <version>${project.version}</version>
         </dependency>
         <dependency>
    -      <groupId>org.apache.hbase</groupId>
    -      <artifactId>hbase</artifactId>
    -      <version>${hbase.version}</version>
    -      <exclusions>
    -        <exclusion>
    -          <groupId>asm</groupId>
    -          <artifactId>asm</artifactId>
    -        </exclusion>
    -        <exclusion>
    -          <groupId>org.jboss.netty</groupId>
    -          <artifactId>netty</artifactId>
    -        </exclusion>
    -        <exclusion>
    -          <groupId>io.netty</groupId>
    -          <artifactId>netty</artifactId>
    -        </exclusion>
    -        <exclusion>
    -          <groupId>commons-logging</groupId>
    -          <artifactId>commons-logging</artifactId>
    -        </exclusion>
    -        <exclusion>
    -          <groupId>org.jruby</groupId>
    -          <artifactId>jruby-complete</artifactId>
    -        </exclusion>
    -      </exclusions>
    -    </dependency>
    -    <dependency>
           <groupId>org.eclipse.jetty</groupId>
           <artifactId>jetty-server</artifactId>
         </dependency>
    +      <dependency>
    +        <groupId>org.apache.hbase</groupId>
    +        <artifactId>hbase-testing-util</artifactId>
    +        <version>${hbase.version}</version>
    +        <exclusions>
    +          <exclusion>
    +            <groupId>org.jruby</groupId>
    +            <artifactId>jruby-complete</artifactId>
    +          </exclusion>
    +        </exclusions>
    +      </dependency>
    +      <dependency>
    +        <groupId>org.apache.hbase</groupId>
    +        <artifactId>hbase-protocol</artifactId>
    +        <version>${hbase.version}</version>
    +      </dependency>
    +      <dependency>
    +        <groupId>org.apache.hbase</groupId>
    +        <artifactId>hbase-common</artifactId>
    +        <version>${hbase.version}</version>
    +      </dependency>
    +      <dependency>
    +        <groupId>org.apache.hbase</groupId>
    --- End diff --
    
    Added exclusions.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-1297 Upgrade HBase dependency to 0.98

Posted by pwendell <gi...@git.apache.org>.
Github user pwendell commented on the pull request:

    https://github.com/apache/spark/pull/1893#issuecomment-61781162
  
    @tedyu can you up-merge this to master? Thanks! It's a small change I'd like to pull it into 1.2


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-1297 Upgrade HBase dependency to 0.98

Posted by tedyu <gi...@git.apache.org>.
Github user tedyu commented on the pull request:

    https://github.com/apache/spark/pull/1893#issuecomment-61847146
  
    I will create another pull request since my local workspace has become stale.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-1297 Upgrade HBase dependency to 0.98

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1893#discussion_r16066899
  
    --- Diff: examples/pom.xml ---
    @@ -110,36 +143,52 @@
           <version>${project.version}</version>
         </dependency>
         <dependency>
    -      <groupId>org.apache.hbase</groupId>
    -      <artifactId>hbase</artifactId>
    -      <version>${hbase.version}</version>
    -      <exclusions>
    -        <exclusion>
    -          <groupId>asm</groupId>
    -          <artifactId>asm</artifactId>
    -        </exclusion>
    -        <exclusion>
    -          <groupId>org.jboss.netty</groupId>
    -          <artifactId>netty</artifactId>
    -        </exclusion>
    -        <exclusion>
    -          <groupId>io.netty</groupId>
    -          <artifactId>netty</artifactId>
    -        </exclusion>
    -        <exclusion>
    -          <groupId>commons-logging</groupId>
    -          <artifactId>commons-logging</artifactId>
    -        </exclusion>
    -        <exclusion>
    -          <groupId>org.jruby</groupId>
    -          <artifactId>jruby-complete</artifactId>
    -        </exclusion>
    -      </exclusions>
    -    </dependency>
    -    <dependency>
           <groupId>org.eclipse.jetty</groupId>
           <artifactId>jetty-server</artifactId>
         </dependency>
    +      <dependency>
    +        <groupId>org.apache.hbase</groupId>
    +        <artifactId>hbase-testing-util</artifactId>
    +        <version>${hbase.version}</version>
    +        <exclusions>
    +          <exclusion>
    +            <groupId>org.jruby</groupId>
    +            <artifactId>jruby-complete</artifactId>
    +          </exclusion>
    +        </exclusions>
    +      </dependency>
    +      <dependency>
    +        <groupId>org.apache.hbase</groupId>
    +        <artifactId>hbase-protocol</artifactId>
    +        <version>${hbase.version}</version>
    +      </dependency>
    +      <dependency>
    +        <groupId>org.apache.hbase</groupId>
    +        <artifactId>hbase-common</artifactId>
    +        <version>${hbase.version}</version>
    +      </dependency>
    +      <dependency>
    +        <groupId>org.apache.hbase</groupId>
    +        <artifactId>hbase-client</artifactId>
    +        <version>${hbase.version}</version>
    +      </dependency>
    +      <dependency>
    +        <groupId>org.apache.hbase</groupId>
    --- End diff --
    
    I think someone may have already answered this, but is the server artifact needed? not just client?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-1297 Upgrade HBase dependency to 0.98

Posted by rxin <gi...@git.apache.org>.
Github user rxin commented on the pull request:

    https://github.com/apache/spark/pull/1893#issuecomment-57588918
  
    @pwendell can you take a look at this when you have a chance


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-1297 Upgrade HBase dependency to 0.98

Posted by tedyu <gi...@git.apache.org>.
Github user tedyu commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1893#discussion_r16067144
  
    --- Diff: examples/pom.xml ---
    @@ -110,36 +143,52 @@
           <version>${project.version}</version>
         </dependency>
         <dependency>
    -      <groupId>org.apache.hbase</groupId>
    -      <artifactId>hbase</artifactId>
    -      <version>${hbase.version}</version>
    -      <exclusions>
    -        <exclusion>
    -          <groupId>asm</groupId>
    -          <artifactId>asm</artifactId>
    -        </exclusion>
    -        <exclusion>
    -          <groupId>org.jboss.netty</groupId>
    -          <artifactId>netty</artifactId>
    -        </exclusion>
    -        <exclusion>
    -          <groupId>io.netty</groupId>
    -          <artifactId>netty</artifactId>
    -        </exclusion>
    -        <exclusion>
    -          <groupId>commons-logging</groupId>
    -          <artifactId>commons-logging</artifactId>
    -        </exclusion>
    -        <exclusion>
    -          <groupId>org.jruby</groupId>
    -          <artifactId>jruby-complete</artifactId>
    -        </exclusion>
    -      </exclusions>
    -    </dependency>
    -    <dependency>
           <groupId>org.eclipse.jetty</groupId>
           <artifactId>jetty-server</artifactId>
         </dependency>
    +      <dependency>
    +        <groupId>org.apache.hbase</groupId>
    +        <artifactId>hbase-testing-util</artifactId>
    +        <version>${hbase.version}</version>
    +        <exclusions>
    +          <exclusion>
    +            <groupId>org.jruby</groupId>
    +            <artifactId>jruby-complete</artifactId>
    +          </exclusion>
    +        </exclusions>
    +      </dependency>
    +      <dependency>
    +        <groupId>org.apache.hbase</groupId>
    +        <artifactId>hbase-protocol</artifactId>
    +        <version>${hbase.version}</version>
    +      </dependency>
    +      <dependency>
    +        <groupId>org.apache.hbase</groupId>
    +        <artifactId>hbase-common</artifactId>
    +        <version>${hbase.version}</version>
    +      </dependency>
    +      <dependency>
    +        <groupId>org.apache.hbase</groupId>
    +        <artifactId>hbase-client</artifactId>
    +        <version>${hbase.version}</version>
    +      </dependency>
    +      <dependency>
    +        <groupId>org.apache.hbase</groupId>
    --- End diff --
    
    hbase-server is needed.
    Hive hbase-handler does the same.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-1297 Upgrade HBase dependency to 0.98

Posted by tedyu <gi...@git.apache.org>.
Github user tedyu commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1893#discussion_r16066922
  
    --- Diff: examples/pom.xml ---
    @@ -45,6 +45,39 @@
             </dependency>
           </dependencies>
         </profile>
    +    <profile>
    +      <id>hbase-hadoop2</id>
    +      <activation>
    +        <property>
    +          <name>hbase.profile</name>
    +          <value>hadoop2</value>
    +        </property>
    +      </activation>
    +      <properties>
    +        <protobuf.version>2.5.0</protobuf.version>
    +        <hbase.version>0.98.4-hadoop2</hbase.version>
    +      </properties>
    +      <dependencyManagement>
    +        <dependencies>
    +        </dependencies>
    +      </dependencyManagement>
    +    </profile>
    +    <profile>
    +      <id>hbase-hadoop1</id>
    +      <activation>
    +        <property>
    +          <name>!hbase.profile</name>
    +        </property>
    +      </activation>
    +      <properties>
    +        <hbase.version>0.98.4-hadoop1</hbase.version>
    +      </properties>
    +      <dependencyManagement>
    --- End diff --
    
    Will drop.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-1297 Upgrade HBase dependency to 0.98

Posted by tedyu <gi...@git.apache.org>.
Github user tedyu commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1893#discussion_r16066969
  
    --- Diff: examples/pom.xml ---
    @@ -45,6 +45,39 @@
             </dependency>
           </dependencies>
         </profile>
    +    <profile>
    +      <id>hbase-hadoop2</id>
    +      <activation>
    +        <property>
    +          <name>hbase.profile</name>
    +          <value>hadoop2</value>
    +        </property>
    +      </activation>
    +      <properties>
    +        <protobuf.version>2.5.0</protobuf.version>
    +        <hbase.version>0.98.4-hadoop2</hbase.version>
    +      </properties>
    +      <dependencyManagement>
    +        <dependencies>
    +        </dependencies>
    +      </dependencyManagement>
    +    </profile>
    +    <profile>
    +      <id>hbase-hadoop1</id>
    +      <activation>
    +        <property>
    +          <name>!hbase.profile</name>
    +        </property>
    +      </activation>
    +      <properties>
    +        <hbase.version>0.98.4-hadoop1</hbase.version>
    --- End diff --
    
    Can this be done when the need comes ?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-1297 Upgrade HBase dependency to 0.98

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/1893#issuecomment-51811506
  
    Can one of the admins verify this patch?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-1297 Upgrade HBase dependency to 0.98

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1893#discussion_r16068702
  
    --- Diff: examples/pom.xml ---
    @@ -45,6 +45,39 @@
             </dependency>
           </dependencies>
         </profile>
    +    <profile>
    +      <id>hbase-hadoop2</id>
    +      <activation>
    +        <property>
    +          <name>hbase.profile</name>
    +          <value>hadoop2</value>
    +        </property>
    +      </activation>
    +      <properties>
    +        <protobuf.version>2.5.0</protobuf.version>
    +        <hbase.version>0.98.4-hadoop2</hbase.version>
    +      </properties>
    +      <dependencyManagement>
    +        <dependencies>
    +        </dependencies>
    +      </dependencyManagement>
    +    </profile>
    +    <profile>
    +      <id>hbase-hadoop1</id>
    +      <activation>
    +        <property>
    +          <name>!hbase.profile</name>
    +        </property>
    +      </activation>
    +      <properties>
    +        <hbase.version>0.98.4-hadoop1</hbase.version>
    --- End diff --
    
    You can set Maven build properties with `-Dkey=value`, yes. They will override.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-1297 Upgrade HBase dependency to 0.98

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1893#discussion_r16066774
  
    --- Diff: examples/pom.xml ---
    @@ -45,6 +45,39 @@
             </dependency>
           </dependencies>
         </profile>
    +    <profile>
    +      <id>hbase-hadoop2</id>
    +      <activation>
    +        <property>
    +          <name>hbase.profile</name>
    +          <value>hadoop2</value>
    +        </property>
    +      </activation>
    +      <properties>
    +        <protobuf.version>2.5.0</protobuf.version>
    +        <hbase.version>0.98.4-hadoop2</hbase.version>
    +      </properties>
    +      <dependencyManagement>
    +        <dependencies>
    +        </dependencies>
    +      </dependencyManagement>
    +    </profile>
    +    <profile>
    +      <id>hbase-hadoop1</id>
    +      <activation>
    +        <property>
    +          <name>!hbase.profile</name>
    +        </property>
    +      </activation>
    +      <properties>
    +        <hbase.version>0.98.4-hadoop1</hbase.version>
    +      </properties>
    +      <dependencyManagement>
    --- End diff --
    
    Why the empty stanza?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-1297 Upgrade HBase dependency to 0.98

Posted by tmalaska <gi...@git.apache.org>.
Github user tmalaska commented on the pull request:

    https://github.com/apache/spark/pull/1893#issuecomment-51936244
  
    +1
    I'm all for the update to 0.98 HBase.
    
    Just make sure we address everything that Sean O is asking.  We need this to be able to build with Hadoop1 or Hadoop2 based on a profile.
    
    My code for Spark-2447 will need these changes


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-1297 Upgrade HBase dependency to 0.98

Posted by srowen <gi...@git.apache.org>.
Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1893#discussion_r16066763
  
    --- Diff: examples/pom.xml ---
    @@ -45,6 +45,39 @@
             </dependency>
           </dependencies>
         </profile>
    +    <profile>
    +      <id>hbase-hadoop2</id>
    +      <activation>
    +        <property>
    +          <name>hbase.profile</name>
    +          <value>hadoop2</value>
    +        </property>
    +      </activation>
    +      <properties>
    +        <protobuf.version>2.5.0</protobuf.version>
    --- End diff --
    
    Is this necessary here? Hadoop is also sensitive to this version and so this is controlled by the Hadoop profile. I am not sure it gains you anything to specify it separately here. If you specify an incompatible combination it's still going to not work no matter what. That is, it goes without saying that one would set this already by choosing `-Phadoop-2.3` or something.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-1297 Upgrade HBase dependency to 0.98

Posted by haosdent <gi...@git.apache.org>.
Github user haosdent commented on the pull request:

    https://github.com/apache/spark/pull/1893#issuecomment-51864003
  
    0.98 is a more powerful HBase release version. +1 for Upgrade HBase dependency to 0.98 :+1: 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: SPARK-1297 Upgrade HBase dependency to 0.98

Posted by tedyu <gi...@git.apache.org>.
Github user tedyu commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1893#discussion_r16066911
  
    --- Diff: examples/pom.xml ---
    @@ -45,6 +45,39 @@
             </dependency>
           </dependencies>
         </profile>
    +    <profile>
    +      <id>hbase-hadoop2</id>
    +      <activation>
    +        <property>
    +          <name>hbase.profile</name>
    +          <value>hadoop2</value>
    +        </property>
    +      </activation>
    +      <properties>
    +        <protobuf.version>2.5.0</protobuf.version>
    --- End diff --
    
    Will drop in next PR


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org