You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Alex Newman (JIRA)" <ji...@apache.org> on 2011/08/27 09:59:29 UTC

[jira] [Created] (SQOOP-325) Sqoop doesn't build on intellij

Sqoop doesn't build on intellij
-------------------------------

                 Key: SQOOP-325
                 URL: https://issues.apache.org/jira/browse/SQOOP-325
             Project: Sqoop
          Issue Type: Bug
            Reporter: Alex Newman
            Assignee: Alex Newman
            Priority: Minor


By default, since log4j is explicitly excluded in the pom.xml. Intellij wont be able to build sqoop in the places that org.apache.log4j is referenced. There are two options as I see it:

Option 1: Remove the exclusion and be tied to the implicit version that the rest of the apache projects use
Option 2: Explicitly import it

Amusingly, I think the first will cause less compatibility issues, although it is slightly more magical.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SQOOP-325) Sqoop doesn't build on intellij

Posted by "Alex Newman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SQOOP-325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13106818#comment-13106818 ] 

Alex Newman commented on SQOOP-325:
-----------------------------------

Looks resolved to me.

> Sqoop doesn't build on intellij
> -------------------------------
>
>                 Key: SQOOP-325
>                 URL: https://issues.apache.org/jira/browse/SQOOP-325
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Alex Newman
>            Assignee: Alex Newman
>            Priority: Minor
>         Attachments: 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch, 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch, 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch
>
>
> By default, since log4j is explicitly excluded in the pom.xml. Intellij wont be able to build sqoop in the places that org.apache.log4j is referenced. There are two options as I see it:
> Option 1: Remove the exclusion and be tied to the implicit version that the rest of the apache projects use
> Option 2: Explicitly import it
> Amusingly, I think the first will cause less compatibility issues, although it is slightly more magical.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SQOOP-325) Sqoop doesn't build on intellij

Posted by "Alex Newman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SQOOP-325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13099585#comment-13099585 ] 

Alex Newman commented on SQOOP-325:
-----------------------------------

Arvind sounds good. Do we have an opinion on the version? I added the newest one.

> Sqoop doesn't build on intellij
> -------------------------------
>
>                 Key: SQOOP-325
>                 URL: https://issues.apache.org/jira/browse/SQOOP-325
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Alex Newman
>            Assignee: Alex Newman
>            Priority: Minor
>         Attachments: 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch
>
>
> By default, since log4j is explicitly excluded in the pom.xml. Intellij wont be able to build sqoop in the places that org.apache.log4j is referenced. There are two options as I see it:
> Option 1: Remove the exclusion and be tied to the implicit version that the rest of the apache projects use
> Option 2: Explicitly import it
> Amusingly, I think the first will cause less compatibility issues, although it is slightly more magical.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SQOOP-325) Sqoop doesn't build on intellij

Posted by "Alex Newman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SQOOP-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Newman updated SQOOP-325:
------------------------------

    Attachment: 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch

> Sqoop doesn't build on intellij
> -------------------------------
>
>                 Key: SQOOP-325
>                 URL: https://issues.apache.org/jira/browse/SQOOP-325
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Alex Newman
>            Assignee: Alex Newman
>            Priority: Minor
>         Attachments: 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch, 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch
>
>
> By default, since log4j is explicitly excluded in the pom.xml. Intellij wont be able to build sqoop in the places that org.apache.log4j is referenced. There are two options as I see it:
> Option 1: Remove the exclusion and be tied to the implicit version that the rest of the apache projects use
> Option 2: Explicitly import it
> Amusingly, I think the first will cause less compatibility issues, although it is slightly more magical.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SQOOP-325) Sqoop doesn't build on intellij

Posted by "Arvind Prabhakar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SQOOP-325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105176#comment-13105176 ] 

Arvind Prabhakar commented on SQOOP-325:
----------------------------------------

Sorry about the delay on this Alex. The version of log4j specified in ivy/libraries.properties is 1.2.15, however that version will not work for Maven build since it pulls in many unnecessary dependencies. Can you please update the patch so that the version in ivy/libraries.properties is also 1.2.16?

Also, a nit: please generate patch using the --no-prefix option to ensure that it can be applied directly.

> Sqoop doesn't build on intellij
> -------------------------------
>
>                 Key: SQOOP-325
>                 URL: https://issues.apache.org/jira/browse/SQOOP-325
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Alex Newman
>            Assignee: Alex Newman
>            Priority: Minor
>         Attachments: 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch, 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch
>
>
> By default, since log4j is explicitly excluded in the pom.xml. Intellij wont be able to build sqoop in the places that org.apache.log4j is referenced. There are two options as I see it:
> Option 1: Remove the exclusion and be tied to the implicit version that the rest of the apache projects use
> Option 2: Explicitly import it
> Amusingly, I think the first will cause less compatibility issues, although it is slightly more magical.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SQOOP-325) Sqoop doesn't build on intellij

Posted by "Alex Newman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SQOOP-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Newman updated SQOOP-325:
------------------------------

    Attachment: 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch

Here's Option 1

> Sqoop doesn't build on intellij
> -------------------------------
>
>                 Key: SQOOP-325
>                 URL: https://issues.apache.org/jira/browse/SQOOP-325
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Alex Newman
>            Assignee: Alex Newman
>            Priority: Minor
>         Attachments: 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch
>
>
> By default, since log4j is explicitly excluded in the pom.xml. Intellij wont be able to build sqoop in the places that org.apache.log4j is referenced. There are two options as I see it:
> Option 1: Remove the exclusion and be tied to the implicit version that the rest of the apache projects use
> Option 2: Explicitly import it
> Amusingly, I think the first will cause less compatibility issues, although it is slightly more magical.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SQOOP-325) Sqoop doesn't build on intellij

Posted by "Alex Newman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SQOOP-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Newman updated SQOOP-325:
------------------------------

    Attachment: 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch

> Sqoop doesn't build on intellij
> -------------------------------
>
>                 Key: SQOOP-325
>                 URL: https://issues.apache.org/jira/browse/SQOOP-325
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Alex Newman
>            Assignee: Alex Newman
>            Priority: Minor
>         Attachments: 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch, 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch, 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch
>
>
> By default, since log4j is explicitly excluded in the pom.xml. Intellij wont be able to build sqoop in the places that org.apache.log4j is referenced. There are two options as I see it:
> Option 1: Remove the exclusion and be tied to the implicit version that the rest of the apache projects use
> Option 2: Explicitly import it
> Amusingly, I think the first will cause less compatibility issues, although it is slightly more magical.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SQOOP-325) Sqoop doesn't build on intellij

Posted by "Arvind Prabhakar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SQOOP-325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105545#comment-13105545 ] 

Arvind Prabhakar commented on SQOOP-325:
----------------------------------------

+1 Patch looks good.

> Sqoop doesn't build on intellij
> -------------------------------
>
>                 Key: SQOOP-325
>                 URL: https://issues.apache.org/jira/browse/SQOOP-325
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Alex Newman
>            Assignee: Alex Newman
>            Priority: Minor
>         Attachments: 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch, 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch, 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch
>
>
> By default, since log4j is explicitly excluded in the pom.xml. Intellij wont be able to build sqoop in the places that org.apache.log4j is referenced. There are two options as I see it:
> Option 1: Remove the exclusion and be tied to the implicit version that the rest of the apache projects use
> Option 2: Explicitly import it
> Amusingly, I think the first will cause less compatibility issues, although it is slightly more magical.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (SQOOP-325) Sqoop doesn't build on intellij

Posted by "Arvind Prabhakar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SQOOP-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arvind Prabhakar closed SQOOP-325.
----------------------------------


Closing the issue. Thanks Alex!

> Sqoop doesn't build on intellij
> -------------------------------
>
>                 Key: SQOOP-325
>                 URL: https://issues.apache.org/jira/browse/SQOOP-325
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Alex Newman
>            Assignee: Alex Newman
>            Priority: Minor
>         Attachments: 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch, 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch, 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch
>
>
> By default, since log4j is explicitly excluded in the pom.xml. Intellij wont be able to build sqoop in the places that org.apache.log4j is referenced. There are two options as I see it:
> Option 1: Remove the exclusion and be tied to the implicit version that the rest of the apache projects use
> Option 2: Explicitly import it
> Amusingly, I think the first will cause less compatibility issues, although it is slightly more magical.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SQOOP-325) Sqoop doesn't build on intellij

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SQOOP-325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105573#comment-13105573 ] 

Hudson commented on SQOOP-325:
------------------------------

Integrated in Sqoop-jdk-1.6 #24 (See [https://builds.apache.org/job/Sqoop-jdk-1.6/24/])
    SQOOP-325. Sqoop doesn't build on itelliJ.

(Alex Newman via Arvind Prabhakar)

arvind : http://svn.apache.org/viewvc/?view=rev&rev=1171193
Files : 
* /incubator/sqoop/trunk/ivy/libraries.properties
* /incubator/sqoop/trunk/pom.xml


> Sqoop doesn't build on intellij
> -------------------------------
>
>                 Key: SQOOP-325
>                 URL: https://issues.apache.org/jira/browse/SQOOP-325
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Alex Newman
>            Assignee: Alex Newman
>            Priority: Minor
>         Attachments: 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch, 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch, 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch
>
>
> By default, since log4j is explicitly excluded in the pom.xml. Intellij wont be able to build sqoop in the places that org.apache.log4j is referenced. There are two options as I see it:
> Option 1: Remove the exclusion and be tied to the implicit version that the rest of the apache projects use
> Option 2: Explicitly import it
> Amusingly, I think the first will cause less compatibility issues, although it is slightly more magical.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (SQOOP-325) Sqoop doesn't build on intellij

Posted by "Arvind Prabhakar (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SQOOP-325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13092959#comment-13092959 ] 

Arvind Prabhakar commented on SQOOP-325:
----------------------------------------

Thanks for the patch Alex. The log4j exclusion on HBase is required since it was forcing some dependencies that were not available in the central repository. So it will be preferable to go with option 2, and to ensure compatibility, set its scope to provided.


> Sqoop doesn't build on intellij
> -------------------------------
>
>                 Key: SQOOP-325
>                 URL: https://issues.apache.org/jira/browse/SQOOP-325
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Alex Newman
>            Assignee: Alex Newman
>            Priority: Minor
>         Attachments: 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch
>
>
> By default, since log4j is explicitly excluded in the pom.xml. Intellij wont be able to build sqoop in the places that org.apache.log4j is referenced. There are two options as I see it:
> Option 1: Remove the exclusion and be tied to the implicit version that the rest of the apache projects use
> Option 2: Explicitly import it
> Amusingly, I think the first will cause less compatibility issues, although it is slightly more magical.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SQOOP-325) Sqoop doesn't build on intellij

Posted by "Arvind Prabhakar (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SQOOP-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arvind Prabhakar updated SQOOP-325:
-----------------------------------

    Fix Version/s: 1.4.0-incubating
    
> Sqoop doesn't build on intellij
> -------------------------------
>
>                 Key: SQOOP-325
>                 URL: https://issues.apache.org/jira/browse/SQOOP-325
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Alex Newman
>            Assignee: Alex Newman
>            Priority: Minor
>             Fix For: 1.4.0-incubating
>
>         Attachments: 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch, 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch, 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch
>
>
> By default, since log4j is explicitly excluded in the pom.xml. Intellij wont be able to build sqoop in the places that org.apache.log4j is referenced. There are two options as I see it:
> Option 1: Remove the exclusion and be tied to the implicit version that the rest of the apache projects use
> Option 2: Explicitly import it
> Amusingly, I think the first will cause less compatibility issues, although it is slightly more magical.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SQOOP-325) Sqoop doesn't build on intellij

Posted by "Alex Newman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SQOOP-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Newman updated SQOOP-325:
------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

> Sqoop doesn't build on intellij
> -------------------------------
>
>                 Key: SQOOP-325
>                 URL: https://issues.apache.org/jira/browse/SQOOP-325
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Alex Newman
>            Assignee: Alex Newman
>            Priority: Minor
>         Attachments: 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch, 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch, 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch
>
>
> By default, since log4j is explicitly excluded in the pom.xml. Intellij wont be able to build sqoop in the places that org.apache.log4j is referenced. There are two options as I see it:
> Option 1: Remove the exclusion and be tied to the implicit version that the rest of the apache projects use
> Option 2: Explicitly import it
> Amusingly, I think the first will cause less compatibility issues, although it is slightly more magical.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (SQOOP-325) Sqoop doesn't build on intellij

Posted by "Alex Newman (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SQOOP-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Newman updated SQOOP-325:
------------------------------

    Status: Patch Available  (was: Open)

Generated with no-prefix also, tested with ant package

> Sqoop doesn't build on intellij
> -------------------------------
>
>                 Key: SQOOP-325
>                 URL: https://issues.apache.org/jira/browse/SQOOP-325
>             Project: Sqoop
>          Issue Type: Bug
>            Reporter: Alex Newman
>            Assignee: Alex Newman
>            Priority: Minor
>         Attachments: 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch, 0001-SQOOP-325.-Sqoop-doesn-t-build-on-intellij.patch
>
>
> By default, since log4j is explicitly excluded in the pom.xml. Intellij wont be able to build sqoop in the places that org.apache.log4j is referenced. There are two options as I see it:
> Option 1: Remove the exclusion and be tied to the implicit version that the rest of the apache projects use
> Option 2: Explicitly import it
> Amusingly, I think the first will cause less compatibility issues, although it is slightly more magical.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira