[jira] [Updated] (HDFS-2331) Hdfs compilation fails

2015-03-16 Thread Allen Wittenauer (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Allen Wittenauer updated HDFS-2331:
---
Fix Version/s: (was: 2.0.0-alpha)

> Hdfs compilation fails
> --
>
> Key: HDFS-2331
> URL: https://issues.apache.org/jira/browse/HDFS-2331
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: hdfs-client
>Affects Versions: 0.20.205.0, 2.0.0-alpha
>Reporter: Abhijit Suresh Shingate
>Assignee: Abhijit Suresh Shingate
> Fix For: 0.20.205.0, 0.23.0
>
> Attachments: HDFS-2331-1.patch, HDFS-2331.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I am trying to perform complete build from trunk folder but the compilation 
> fails.
> *Commandline:*
> mvn clean install  
> *Error Message:*
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.
> 3.2:compile (default-compile) on project hadoop-hdfs: Compilation failure
> [ERROR] \Hadoop\SVN\trunk\hadoop-hdfs-project\hadoop-hdfs\src\main\java\org
> \apache\hadoop\hdfs\web\WebHdfsFileSystem.java:[209,21] type parameters of 
> T
> cannot be determined; no unique maximal instance exists for type variable T 
> with
>  upper bounds T,java.lang.Object
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> rea
> d the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
> eption
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> This is because of known reason
> [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954]
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the code snippet with issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 
> Fix to the issue
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the fix to the issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return WebHdfsFileSystem.jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 



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


[jira] [Updated] (HDFS-2331) Hdfs compilation fails

2012-09-11 Thread Suresh Srinivas (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Suresh Srinivas updated HDFS-2331:
--

Fix Version/s: (was: 1.1.0)

> Hdfs compilation fails
> --
>
> Key: HDFS-2331
> URL: https://issues.apache.org/jira/browse/HDFS-2331
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: hdfs client
>Affects Versions: 0.20.205.0, 0.24.0
>Reporter: Abhijit Suresh Shingate
>Assignee: Abhijit Suresh Shingate
> Fix For: 0.20.205.0, 0.23.0, 0.24.0
>
> Attachments: HDFS-2331-1.patch, HDFS-2331.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I am trying to perform complete build from trunk folder but the compilation 
> fails.
> *Commandline:*
> mvn clean install  
> *Error Message:*
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.
> 3.2:compile (default-compile) on project hadoop-hdfs: Compilation failure
> [ERROR] \Hadoop\SVN\trunk\hadoop-hdfs-project\hadoop-hdfs\src\main\java\org
> \apache\hadoop\hdfs\web\WebHdfsFileSystem.java:[209,21] type parameters of 
> T
> cannot be determined; no unique maximal instance exists for type variable T 
> with
>  upper bounds T,java.lang.Object
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> rea
> d the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
> eption
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> This is because of known reason
> [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954]
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the code snippet with issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 
> Fix to the issue
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the fix to the issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return WebHdfsFileSystem.jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 

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


[jira] [Updated] (HDFS-2331) Hdfs compilation fails

2011-10-26 Thread Tsz Wo (Nicholas), SZE (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo (Nicholas), SZE updated HDFS-2331:
-

Fix Version/s: 0.23.0

Merged to 0.23.

> Hdfs compilation fails
> --
>
> Key: HDFS-2331
> URL: https://issues.apache.org/jira/browse/HDFS-2331
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: hdfs client
>Affects Versions: 0.20.205.0, 0.24.0
>Reporter: Abhijit Suresh Shingate
>Assignee: Abhijit Suresh Shingate
> Fix For: 0.20.205.0, 0.20.206.0, 0.23.0, 0.24.0
>
> Attachments: HDFS-2331-1.patch, HDFS-2331.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I am trying to perform complete build from trunk folder but the compilation 
> fails.
> *Commandline:*
> mvn clean install  
> *Error Message:*
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.
> 3.2:compile (default-compile) on project hadoop-hdfs: Compilation failure
> [ERROR] \Hadoop\SVN\trunk\hadoop-hdfs-project\hadoop-hdfs\src\main\java\org
> \apache\hadoop\hdfs\web\WebHdfsFileSystem.java:[209,21] type parameters of 
> T
> cannot be determined; no unique maximal instance exists for type variable T 
> with
>  upper bounds T,java.lang.Object
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> rea
> d the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
> eption
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> This is because of known reason
> [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954]
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the code snippet with issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 
> Fix to the issue
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the fix to the issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return WebHdfsFileSystem.jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 

--
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] (HDFS-2331) Hdfs compilation fails

2011-09-22 Thread Tsz Wo (Nicholas), SZE (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo (Nicholas), SZE updated HDFS-2331:
-

Fix Version/s: 0.20.206.0

> Hdfs compilation fails
> --
>
> Key: HDFS-2331
> URL: https://issues.apache.org/jira/browse/HDFS-2331
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: hdfs client
>Affects Versions: 0.20.205.0, 0.24.0
>Reporter: Abhijit Suresh Shingate
>Assignee: Abhijit Suresh Shingate
> Fix For: 0.20.205.0, 0.20.206.0, 0.24.0
>
> Attachments: HDFS-2331-1.patch, HDFS-2331.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I am trying to perform complete build from trunk folder but the compilation 
> fails.
> *Commandline:*
> mvn clean install  
> *Error Message:*
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.
> 3.2:compile (default-compile) on project hadoop-hdfs: Compilation failure
> [ERROR] \Hadoop\SVN\trunk\hadoop-hdfs-project\hadoop-hdfs\src\main\java\org
> \apache\hadoop\hdfs\web\WebHdfsFileSystem.java:[209,21] type parameters of 
> T
> cannot be determined; no unique maximal instance exists for type variable T 
> with
>  upper bounds T,java.lang.Object
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> rea
> d the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
> eption
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> This is because of known reason
> [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954]
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the code snippet with issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 
> Fix to the issue
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the fix to the issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return WebHdfsFileSystem.jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 

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




[jira] [Updated] (HDFS-2331) Hdfs compilation fails

2011-09-15 Thread Tsz Wo (Nicholas), SZE (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo (Nicholas), SZE updated HDFS-2331:
-

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

I have committed this.  Thanks, Abhijit!

> Hdfs compilation fails
> --
>
> Key: HDFS-2331
> URL: https://issues.apache.org/jira/browse/HDFS-2331
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: hdfs client
>Affects Versions: 0.20.205.0, 0.24.0
>Reporter: Abhijit Suresh Shingate
>Assignee: Abhijit Suresh Shingate
> Fix For: 0.20.205.0, 0.24.0
>
> Attachments: HDFS-2331-1.patch, HDFS-2331.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I am trying to perform complete build from trunk folder but the compilation 
> fails.
> *Commandline:*
> mvn clean install  
> *Error Message:*
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.
> 3.2:compile (default-compile) on project hadoop-hdfs: Compilation failure
> [ERROR] \Hadoop\SVN\trunk\hadoop-hdfs-project\hadoop-hdfs\src\main\java\org
> \apache\hadoop\hdfs\web\WebHdfsFileSystem.java:[209,21] type parameters of 
> T
> cannot be determined; no unique maximal instance exists for type variable T 
> with
>  upper bounds T,java.lang.Object
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> rea
> d the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
> eption
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> This is because of known reason
> [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954]
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the code snippet with issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 
> Fix to the issue
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the fix to the issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return WebHdfsFileSystem.jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 

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




[jira] [Updated] (HDFS-2331) Hdfs compilation fails

2011-09-15 Thread Tsz Wo (Nicholas), SZE (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo (Nicholas), SZE updated HDFS-2331:
-

  Component/s: (was: build)
   hdfs client
Affects Version/s: (was: 0.23.0)
   0.20.205.0
Fix Version/s: (was: 0.23.0)
   0.20.205.0
 Hadoop Flags: [Reviewed]

+1 patch looks good.

> Hdfs compilation fails
> --
>
> Key: HDFS-2331
> URL: https://issues.apache.org/jira/browse/HDFS-2331
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: hdfs client
>Affects Versions: 0.20.205.0, 0.24.0
>Reporter: Abhijit Suresh Shingate
>Assignee: Abhijit Suresh Shingate
> Fix For: 0.20.205.0, 0.24.0
>
> Attachments: HDFS-2331-1.patch, HDFS-2331.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I am trying to perform complete build from trunk folder but the compilation 
> fails.
> *Commandline:*
> mvn clean install  
> *Error Message:*
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.
> 3.2:compile (default-compile) on project hadoop-hdfs: Compilation failure
> [ERROR] \Hadoop\SVN\trunk\hadoop-hdfs-project\hadoop-hdfs\src\main\java\org
> \apache\hadoop\hdfs\web\WebHdfsFileSystem.java:[209,21] type parameters of 
> T
> cannot be determined; no unique maximal instance exists for type variable T 
> with
>  upper bounds T,java.lang.Object
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> rea
> d the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
> eption
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> This is because of known reason
> [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954]
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the code snippet with issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 
> Fix to the issue
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the fix to the issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return WebHdfsFileSystem.jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 

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




[jira] [Updated] (HDFS-2331) Hdfs compilation fails

2011-09-14 Thread Abhijit Suresh Shingate (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Abhijit Suresh Shingate updated HDFS-2331:
--

Status: Patch Available  (was: Open)

> Hdfs compilation fails
> --
>
> Key: HDFS-2331
> URL: https://issues.apache.org/jira/browse/HDFS-2331
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.23.0, 0.24.0
>Reporter: Abhijit Suresh Shingate
>Assignee: Abhijit Suresh Shingate
> Fix For: 0.23.0, 0.24.0
>
> Attachments: HDFS-2331-1.patch, HDFS-2331.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I am trying to perform complete build from trunk folder but the compilation 
> fails.
> *Commandline:*
> mvn clean install  
> *Error Message:*
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.
> 3.2:compile (default-compile) on project hadoop-hdfs: Compilation failure
> [ERROR] \Hadoop\SVN\trunk\hadoop-hdfs-project\hadoop-hdfs\src\main\java\org
> \apache\hadoop\hdfs\web\WebHdfsFileSystem.java:[209,21] type parameters of 
> T
> cannot be determined; no unique maximal instance exists for type variable T 
> with
>  upper bounds T,java.lang.Object
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> rea
> d the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
> eption
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> This is because of known reason
> [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954]
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the code snippet with issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 
> Fix to the issue
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the fix to the issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return WebHdfsFileSystem.jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 

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




[jira] [Updated] (HDFS-2331) Hdfs compilation fails

2011-09-14 Thread Abhijit Suresh Shingate (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Abhijit Suresh Shingate updated HDFS-2331:
--

Attachment: HDFS-2331-1.patch

Hi Nicholas,

Attached new patch generated from trunk..Really Sorry about that.

Regards,
Abhijit

> Hdfs compilation fails
> --
>
> Key: HDFS-2331
> URL: https://issues.apache.org/jira/browse/HDFS-2331
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.23.0, 0.24.0
>Reporter: Abhijit Suresh Shingate
>Assignee: Abhijit Suresh Shingate
> Fix For: 0.23.0, 0.24.0
>
> Attachments: HDFS-2331-1.patch, HDFS-2331.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I am trying to perform complete build from trunk folder but the compilation 
> fails.
> *Commandline:*
> mvn clean install  
> *Error Message:*
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.
> 3.2:compile (default-compile) on project hadoop-hdfs: Compilation failure
> [ERROR] \Hadoop\SVN\trunk\hadoop-hdfs-project\hadoop-hdfs\src\main\java\org
> \apache\hadoop\hdfs\web\WebHdfsFileSystem.java:[209,21] type parameters of 
> T
> cannot be determined; no unique maximal instance exists for type variable T 
> with
>  upper bounds T,java.lang.Object
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> rea
> d the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
> eption
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> This is because of known reason
> [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954]
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the code snippet with issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 
> Fix to the issue
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the fix to the issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return WebHdfsFileSystem.jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 

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




[jira] [Updated] (HDFS-2331) Hdfs compilation fails

2011-09-14 Thread Abhijit Suresh Shingate (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Abhijit Suresh Shingate updated HDFS-2331:
--

Status: Open  (was: Patch Available)

Cancelling old patch 

> Hdfs compilation fails
> --
>
> Key: HDFS-2331
> URL: https://issues.apache.org/jira/browse/HDFS-2331
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.23.0, 0.24.0
>Reporter: Abhijit Suresh Shingate
>Assignee: Abhijit Suresh Shingate
> Fix For: 0.23.0, 0.24.0
>
> Attachments: HDFS-2331.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I am trying to perform complete build from trunk folder but the compilation 
> fails.
> *Commandline:*
> mvn clean install  
> *Error Message:*
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.
> 3.2:compile (default-compile) on project hadoop-hdfs: Compilation failure
> [ERROR] \Hadoop\SVN\trunk\hadoop-hdfs-project\hadoop-hdfs\src\main\java\org
> \apache\hadoop\hdfs\web\WebHdfsFileSystem.java:[209,21] type parameters of 
> T
> cannot be determined; no unique maximal instance exists for type variable T 
> with
>  upper bounds T,java.lang.Object
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> rea
> d the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
> eption
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> This is because of known reason
> [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954]
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the code snippet with issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 
> Fix to the issue
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the fix to the issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return WebHdfsFileSystem.jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 

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




[jira] [Updated] (HDFS-2331) Hdfs compilation fails

2011-09-14 Thread Tsz Wo (Nicholas), SZE (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz Wo (Nicholas), SZE updated HDFS-2331:
-

Assignee: Abhijit Suresh Shingate

> Hdfs compilation fails
> --
>
> Key: HDFS-2331
> URL: https://issues.apache.org/jira/browse/HDFS-2331
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.23.0, 0.24.0
>Reporter: Abhijit Suresh Shingate
>Assignee: Abhijit Suresh Shingate
> Fix For: 0.23.0, 0.24.0
>
> Attachments: HDFS-2331.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I am trying to perform complete build from trunk folder but the compilation 
> fails.
> *Commandline:*
> mvn clean install  
> *Error Message:*
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.
> 3.2:compile (default-compile) on project hadoop-hdfs: Compilation failure
> [ERROR] \Hadoop\SVN\trunk\hadoop-hdfs-project\hadoop-hdfs\src\main\java\org
> \apache\hadoop\hdfs\web\WebHdfsFileSystem.java:[209,21] type parameters of 
> T
> cannot be determined; no unique maximal instance exists for type variable T 
> with
>  upper bounds T,java.lang.Object
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> rea
> d the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
> eption
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> This is because of known reason
> [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954]
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the code snippet with issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 
> Fix to the issue
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the fix to the issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return WebHdfsFileSystem.jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 

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




[jira] [Updated] (HDFS-2331) Hdfs compilation fails

2011-09-14 Thread Abhijit Suresh Shingate (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Abhijit Suresh Shingate updated HDFS-2331:
--

Fix Version/s: 0.24.0
   0.23.0
   Status: Patch Available  (was: Open)

> Hdfs compilation fails
> --
>
> Key: HDFS-2331
> URL: https://issues.apache.org/jira/browse/HDFS-2331
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.23.0, 0.24.0
>Reporter: Abhijit Suresh Shingate
> Fix For: 0.23.0, 0.24.0
>
> Attachments: HDFS-2331.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I am trying to perform complete build from trunk folder but the compilation 
> fails.
> *Commandline:*
> mvn clean install  
> *Error Message:*
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.
> 3.2:compile (default-compile) on project hadoop-hdfs: Compilation failure
> [ERROR] \Hadoop\SVN\trunk\hadoop-hdfs-project\hadoop-hdfs\src\main\java\org
> \apache\hadoop\hdfs\web\WebHdfsFileSystem.java:[209,21] type parameters of 
> T
> cannot be determined; no unique maximal instance exists for type variable T 
> with
>  upper bounds T,java.lang.Object
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> rea
> d the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
> eption
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> This is because of known reason
> [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954]
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the code snippet with issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 
> Fix to the issue
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the fix to the issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return WebHdfsFileSystem.jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 

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




[jira] [Updated] (HDFS-2331) Hdfs compilation fails

2011-09-14 Thread Abhijit Suresh Shingate (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Abhijit Suresh Shingate updated HDFS-2331:
--

Attachment: HDFS-2331.patch

> Hdfs compilation fails
> --
>
> Key: HDFS-2331
> URL: https://issues.apache.org/jira/browse/HDFS-2331
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.23.0, 0.24.0
>Reporter: Abhijit Suresh Shingate
> Attachments: HDFS-2331.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I am trying to perform complete build from trunk folder but the compilation 
> fails.
> *Commandline:*
> mvn clean install  
> *Error Message:*
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.
> 3.2:compile (default-compile) on project hadoop-hdfs: Compilation failure
> [ERROR] \Hadoop\SVN\trunk\hadoop-hdfs-project\hadoop-hdfs\src\main\java\org
> \apache\hadoop\hdfs\web\WebHdfsFileSystem.java:[209,21] type parameters of 
> T
> cannot be determined; no unique maximal instance exists for type variable T 
> with
>  upper bounds T,java.lang.Object
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> rea
> d the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
> eption
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the 
> command
> This is because of known reason
> [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954]
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the code snippet with issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 
> Fix to the issue
> {code:title=WebHdfsFileSystem.java|borderStyle=solid}
> Following is the fix to the issue.
>   private  T run(final HttpOpParam.Op op, final Path fspath,
>   final Param... parameters) throws IOException {
> final HttpURLConnection conn = httpConnect(op, fspath, parameters);
> validateResponse(op, conn);
> try {
>   return WebHdfsFileSystem.jsonParse(conn.getInputStream());
> } finally {
>   conn.disconnect();
> }
>   }
> {code} 

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




[jira] [Updated] (HDFS-2331) Hdfs compilation fails

2011-09-13 Thread Abhijit Suresh Shingate (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Abhijit Suresh Shingate updated HDFS-2331:
--

Description: 
I am trying to perform complete build from trunk folder but the compilation 
fails.

*Commandline:*
mvn clean install  

*Error Message:*

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.
3.2:compile (default-compile) on project hadoop-hdfs: Compilation failure
[ERROR] \Hadoop\SVN\trunk\hadoop-hdfs-project\hadoop-hdfs\src\main\java\org
\apache\hadoop\hdfs\web\WebHdfsFileSystem.java:[209,21] type parameters of T
cannot be determined; no unique maximal instance exists for type variable T with
 upper bounds T,java.lang.Object
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command


This is because of known reason
[http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954]



{code:title=WebHdfsFileSystem.java|borderStyle=solid}

Following is the code snippet with issue.

  private  T run(final HttpOpParam.Op op, final Path fspath,
  final Param... parameters) throws IOException {
final HttpURLConnection conn = httpConnect(op, fspath, parameters);
validateResponse(op, conn);
try {
  return jsonParse(conn.getInputStream());
} finally {
  conn.disconnect();
}
  }

{code} 


Fix to the issue


{code:title=WebHdfsFileSystem.java|borderStyle=solid}

Following is the fix to the issue.

  private  T run(final HttpOpParam.Op op, final Path fspath,
  final Param... parameters) throws IOException {
final HttpURLConnection conn = httpConnect(op, fspath, parameters);
validateResponse(op, conn);
try {
  return WebHdfsFileSystem.jsonParse(conn.getInputStream());
} finally {
  conn.disconnect();
}
  }

{code} 



  was:
I am trying to perform complete build from trunk folder but the compilation 
fails.

*Commandline:*
mvn clean install  

*Error Message:*

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.
3.2:compile (default-compile) on project hadoop-hdfs: Compilation failure
[ERROR] \Hadoop\SVN\trunk\hadoop-hdfs-project\hadoop-hdfs\src\main\java\org
\apache\hadoop\hdfs\web\WebHdfsFileSystem.java:[209,21] type parameters of T
cannot be determined; no unique maximal instance exists for type variable T with
 upper bounds T,java.lang.Object
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command


This is because of known reason
[http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954]



{code:title=WebHdfsFileSystem.java|borderStyle=solid}

Following is the code snippet with issue.

  private  T run(final HttpOpParam.Op op, final Path fspath,
  final Param... parameters) throws IOException {
final HttpURLConnection conn = httpConnect(op, fspath, parameters);
validateResponse(op, conn);
try {
  return jsonParse(conn.getInputStream());
} finally {
  conn.disconnect();
}
  }

{code} 


Fix to the issue


{code:title=WebHdfsFileSystem.java|borderStyle=solid}

Following is the code snippet with issue.

  private  T run(final HttpOpParam.Op op, final Path fspath,
  final Param... parameters) throws IOException {
final HttpURLConnection conn = httpConnect(op, fspath, parameters);
validateResponse(op, conn);
try {
  return WebHdfsFileSystem.jsonParse(conn.getInputStream());
} finally {
  conn.disconnect();
}
  }

{code} 




> Hdfs compilation fails
> --
>
> Key: HDFS-2331
> URL: https://issues.apache.org/jira/browse/HDFS-2331
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.23.0, 0.24.0
>Reporter: Abhijit Suresh Shingate
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I am trying to perform complete build from trunk folder but the compilation 
> fails.
> *Commandline:*
> mvn clean install  
> *Error Message:*
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.
> 3.2:compile (default-compile) on project hadoop-hdfs: Co

[jira] [Updated] (HDFS-2331) Hdfs compilation fails

2011-09-13 Thread Abhijit Suresh Shingate (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Abhijit Suresh Shingate updated HDFS-2331:
--

Description: 
I am trying to perform complete build from trunk folder but the compilation 
fails.

*Commandline:*
mvn clean install  

*Error Message:*

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.
3.2:compile (default-compile) on project hadoop-hdfs: Compilation failure
[ERROR] \Hadoop\SVN\trunk\hadoop-hdfs-project\hadoop-hdfs\src\main\java\org
\apache\hadoop\hdfs\web\WebHdfsFileSystem.java:[209,21] type parameters of T
cannot be determined; no unique maximal instance exists for type variable T with
 upper bounds T,java.lang.Object
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command


This is because of known reason
[http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954]



{code:title=WebHdfsFileSystem.java|borderStyle=solid}

Following is the code snippet with issue.

  private  T run(final HttpOpParam.Op op, final Path fspath,
  final Param... parameters) throws IOException {
final HttpURLConnection conn = httpConnect(op, fspath, parameters);
validateResponse(op, conn);
try {
  return jsonParse(conn.getInputStream());
} finally {
  conn.disconnect();
}
  }

{code} 


Fix to the issue


{code:title=WebHdfsFileSystem.java|borderStyle=solid}

Following is the code snippet with issue.

  private  T run(final HttpOpParam.Op op, final Path fspath,
  final Param... parameters) throws IOException {
final HttpURLConnection conn = httpConnect(op, fspath, parameters);
validateResponse(op, conn);
try {
  return WebHdfsFileSystem.jsonParse(conn.getInputStream());
} finally {
  conn.disconnect();
}
  }

{code} 



  was:
I am trying to perform complete build from trunk folder but the compilation 
fails.

*Commandline:*
mvn clean install  

*Error Message:*

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.
3.2:compile (default-compile) on project hadoop-hdfs: Compilation failure
[ERROR] \iSAP\Hadoop\SVN\trunk\hadoop-hdfs-project\hadoop-hdfs\src\main\java\org
\apache\hadoop\hdfs\web\WebHdfsFileSystem.java:[209,21] type parameters of T
cannot be determined; no unique maximal instance exists for type variable T with
 upper bounds T,java.lang.Object
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command


This is because of known reason
[http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954]



{code:title=WebHdfsFileSystem.java|borderStyle=solid}

Following is the code snippet with issue.

  private  T run(final HttpOpParam.Op op, final Path fspath,
  final Param... parameters) throws IOException {
final HttpURLConnection conn = httpConnect(op, fspath, parameters);
validateResponse(op, conn);
try {
  return jsonParse(conn.getInputStream());
} finally {
  conn.disconnect();
}
  }

{code} 


Fix to the issue


{code:title=WebHdfsFileSystem.java|borderStyle=solid}

Following is the code snippet with issue.

  private  T run(final HttpOpParam.Op op, final Path fspath,
  final Param... parameters) throws IOException {
final HttpURLConnection conn = httpConnect(op, fspath, parameters);
validateResponse(op, conn);
try {
  return WebHdfsFileSystem.jsonParse(conn.getInputStream());
} finally {
  conn.disconnect();
}
  }

{code} 




> Hdfs compilation fails
> --
>
> Key: HDFS-2331
> URL: https://issues.apache.org/jira/browse/HDFS-2331
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.23.0, 0.24.0
>Reporter: Abhijit Suresh Shingate
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I am trying to perform complete build from trunk folder but the compilation 
> fails.
> *Commandline:*
> mvn clean install  
> *Error Message:*
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.
> 3.2:compile (default-compile) on project had

[jira] [Updated] (HDFS-2331) Hdfs compilation fails

2011-09-13 Thread Abhijit Suresh Shingate (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Abhijit Suresh Shingate updated HDFS-2331:
--

Description: 
I am trying to perform complete build from trunk folder but the compilation 
fails.

*Commandline:*
mvn clean install  

*Error Message:*

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.
3.2:compile (default-compile) on project hadoop-hdfs: Compilation failure
[ERROR] \iSAP\Hadoop\SVN\trunk\hadoop-hdfs-project\hadoop-hdfs\src\main\java\org
\apache\hadoop\hdfs\web\WebHdfsFileSystem.java:[209,21] type parameters of T
cannot be determined; no unique maximal instance exists for type variable T with
 upper bounds T,java.lang.Object
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command


This is because of known reason
[http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954]



{code:title=WebHdfsFileSystem.java|borderStyle=solid}

Following is the code snippet with issue.

  private  T run(final HttpOpParam.Op op, final Path fspath,
  final Param... parameters) throws IOException {
final HttpURLConnection conn = httpConnect(op, fspath, parameters);
validateResponse(op, conn);
try {
  return jsonParse(conn.getInputStream());
} finally {
  conn.disconnect();
}
  }

{code} 


Fix to the issue


{code:title=WebHdfsFileSystem.java|borderStyle=solid}

Following is the code snippet with issue.

  private  T run(final HttpOpParam.Op op, final Path fspath,
  final Param... parameters) throws IOException {
final HttpURLConnection conn = httpConnect(op, fspath, parameters);
validateResponse(op, conn);
try {
  return WebHdfsFileSystem.jsonParse(conn.getInputStream());
} finally {
  conn.disconnect();
}
  }

{code} 



  was:
I am trying to perform completed build from trunk folder but the compilation 
fails.

*Commandline:*
mvn clean install  

*Error Message:*

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.
3.2:compile (default-compile) on project hadoop-hdfs: Compilation failure
[ERROR] \iSAP\Hadoop\SVN\trunk\hadoop-hdfs-project\hadoop-hdfs\src\main\java\org
\apache\hadoop\hdfs\web\WebHdfsFileSystem.java:[209,21] type parameters of T
cannot be determined; no unique maximal instance exists for type variable T with
 upper bounds T,java.lang.Object
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command


This is because of known reason
[http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6302954]



{code:title=WebHdfsFileSystem.java|borderStyle=solid}

Following is the code snippet with issue.

  private  T run(final HttpOpParam.Op op, final Path fspath,
  final Param... parameters) throws IOException {
final HttpURLConnection conn = httpConnect(op, fspath, parameters);
validateResponse(op, conn);
try {
  return jsonParse(conn.getInputStream());
} finally {
  conn.disconnect();
}
  }

{code} 


Fix to the issue


{code:title=WebHdfsFileSystem.java|borderStyle=solid}

Following is the code snippet with issue.

  private  T run(final HttpOpParam.Op op, final Path fspath,
  final Param... parameters) throws IOException {
final HttpURLConnection conn = httpConnect(op, fspath, parameters);
validateResponse(op, conn);
try {
  return WebHdfsFileSystem.jsonParse(conn.getInputStream());
} finally {
  conn.disconnect();
}
  }

{code} 




> Hdfs compilation fails
> --
>
> Key: HDFS-2331
> URL: https://issues.apache.org/jira/browse/HDFS-2331
> Project: Hadoop HDFS
>  Issue Type: Bug
>  Components: build
>Affects Versions: 0.23.0, 0.24.0
>Reporter: Abhijit Suresh Shingate
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I am trying to perform complete build from trunk folder but the compilation 
> fails.
> *Commandline:*
> mvn clean install  
> *Error Message:*
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.
> 3.2:compile (default-compile) on proje