You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by lewismc <gi...@git.apache.org> on 2014/09/08 00:52:45 UTC

[GitHub] gora pull request: GORA-346 Create shim layer to support multiple ...

GitHub user lewismc opened a pull request:

    https://github.com/apache/gora/pull/6

    GORA-346 Create shim layer to support multiple hadoop versions

    Hi Folks,
    OK so this PR rebases this patch against master branch.
    The only issues I have are as following
    
     * ALL new modules within the Hadoop Shims patch are packaged as bundle... is this OK?
     * I do not understand the comment by Henry regarding  "2. Make hadoop shim instance to be final in the Hadoop util." If we can clarify this then I can add to the PR and we can commit.
    Thank you
    Lewis

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

    $ git pull https://github.com/lewismc/gora GORA-346

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

    https://github.com/apache/gora/pull/6.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 #6
    
----
commit b51cdeeadc1e79474acd250e51a77645ad676ce6
Author: Lewis John McGibbney <le...@jpl.nasa.gov>
Date:   2014-09-07T22:49:09Z

    GORA-346 Create shim layer to support multiple hadoop versions

----


---
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.
---

[GitHub] gora pull request: GORA-346 Create shim layer to support multiple ...

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

    https://github.com/apache/gora/pull/6#issuecomment-54861142
  
    @lewismc, yeah you were right, I thought we had it formatted neatly before.
    Let's resolve it using different ticket.
    
    +1 for this one.


---
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.
---

[GitHub] gora pull request: GORA-346 Create shim layer to support multiple ...

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

    https://github.com/apache/gora/pull/6#discussion_r17221999
  
    --- Diff: gora-shims-hadoop2/pom.xml ---
    @@ -0,0 +1,43 @@
    +     <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
    --- End diff --
    
    Style nit: Alignment not right. Seemed like some formatting needed for the new pom.xml files


---
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.
---

[GitHub] gora pull request: GORA-346 Create shim layer to support multiple ...

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

    https://github.com/apache/gora/pull/6#discussion_r17221762
  
    --- Diff: gora-shims-distribution/pom.xml ---
    @@ -0,0 +1,79 @@
    +     <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
    +	license agreements. See the NOTICE file distributed with this work for additional 
    +	information regarding copyright ownership. The ASF licenses this file to 
    +	You under the Apache License, Version 2.0 (the "License"); you may not use 
    +	this file except in compliance with the License. You may obtain a copy of 
    +	the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
    +	by applicable law or agreed to in writing, software distributed under the 
    +	License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
    +	OF ANY KIND, either express or implied. See the License for the specific 
    +	language governing permissions and limitations under the License. -->
    +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    +	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    +	<modelVersion>4.0.0</modelVersion>
    +	<packaging>bundle</packaging>
    +	<parent>
    +		<groupId>org.apache.gora</groupId>
    --- End diff --
    
    I believe we use 2 spaces instead of tabs?


---
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.
---

[GitHub] gora pull request: GORA-346 Create shim layer to support multiple ...

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

    https://github.com/apache/gora/pull/6


---
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.
---

[GitHub] gora pull request: GORA-346 Create shim layer to support multiple ...

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

    https://github.com/apache/gora/pull/6#issuecomment-54860754
  
    Hi Henry,
    License header formatting has been fixed.
    So has the addition of 'final' defintiion to GoraMapReduceUtils.
    Are you talking about formatting more broadly within the pom.xml files? I see that there is a degree of inconsistency between these new files and the existing ones we have. These seem to use tab's at 4? spaces where as before we had two spaces.
    wdyt?
    Thanks


---
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.
---

[GitHub] gora pull request: GORA-346 Create shim layer to support multiple ...

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

    https://github.com/apache/gora/pull/6#discussion_r17223459
  
    --- Diff: gora-core/src/main/java/org/apache/gora/mapreduce/GoraMapReduceUtils.java ---
    @@ -36,6 +38,8 @@
      */
     public class GoraMapReduceUtils {
     
    +  private static HadoopShim hadoopShim = HadoopShimFactory.INSTANCE().getHadoopShim();
    --- End diff --
    
    Let's make this final to support immutability pattern.


---
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.
---