[ https://issues.apache.org/jira/browse/HBASE-21656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16730300#comment-16730300 ]
maoling commented on HBASE-21656: --------------------------------- yes.the hbase-common passed in the windows OS [~xu qinya] Do you see this build error when exec *mvn clean package -DskipTests assembly:single* in the windows ? {code:java} [INFO] Reactor Summary: [INFO] [INFO] Apache HBase ....................................... SUCCESS [ 36.955 s] [INFO] Apache HBase - Checkstyle .......................... SUCCESS [ 7.294 s] [INFO] Apache HBase - Build Support ....................... SUCCESS [ 0.436 s] [INFO] Apache HBase - Error Prone Rules ................... SUCCESS [ 8.264 s] [INFO] Apache HBase - Annotations ......................... SUCCESS [ 2.808 s] [INFO] Apache HBase - Build Configuration ................. SUCCESS [ 3.674 s] [INFO] Apache HBase - Shaded Protocol ..................... SUCCESS [02:19 min] [INFO] Apache HBase - Common .............................. SUCCESS [01:26 min] [INFO] Apache HBase - Metrics API ......................... SUCCESS [ 7.399 s] [INFO] Apache HBase - Hadoop Compatibility ................ SUCCESS [ 9.693 s] [INFO] Apache HBase - Metrics Implementation .............. SUCCESS [ 6.568 s] [INFO] Apache HBase - Hadoop Two Compatibility ............ SUCCESS [ 11.786 s] [INFO] Apache HBase - Protocol ............................ SUCCESS [ 29.798 s] [INFO] Apache HBase - Client .............................. SUCCESS [ 36.956 s] [INFO] Apache HBase - Zookeeper ........................... SUCCESS [ 17.302 s] [INFO] Apache HBase - Replication ......................... SUCCESS [ 13.443 s] [INFO] Apache HBase - Resource Bundle ..................... SUCCESS [ 0.823 s] [INFO] Apache HBase - HTTP ................................ SUCCESS [ 24.315 s] [INFO] Apache HBase - Procedure ........................... SUCCESS [ 12.515 s] [INFO] Apache HBase - Server .............................. SUCCESS [02:19 min] [INFO] Apache HBase - MapReduce ........................... SUCCESS [ 31.879 s] [INFO] Apache HBase - Testing Util ........................ SUCCESS [ 15.689 s] [INFO] Apache HBase - Thrift .............................. SUCCESS [ 41.614 s] [INFO] Apache HBase - RSGroup ............................. SUCCESS [ 15.653 s] [INFO] Apache HBase - Shell ............................... SUCCESS [ 12.539 s] [INFO] Apache HBase - Coprocessor Endpoint ................ SUCCESS [ 23.944 s] [INFO] Apache HBase - Backup .............................. SUCCESS [ 15.553 s] [INFO] Apache HBase - Integration Tests ................... SUCCESS [ 24.670 s] [INFO] Apache HBase - Rest ................................ SUCCESS [ 23.449 s] [INFO] Apache HBase - Examples ............................ SUCCESS [ 16.970 s] [INFO] Apache HBase - Shaded .............................. FAILURE [ 0.545 s] [INFO] Apache HBase - Shaded - Client (with Hadoop bundled) SKIPPED [INFO] Apache HBase - Shaded - Client ..................... SKIPPED [INFO] Apache HBase - Shaded - MapReduce .................. SKIPPED [INFO] Apache HBase - External Block Cache ................ SKIPPED [INFO] Apache HBase - Assembly ............................ SKIPPED [INFO] Apache HBase Shaded Packaging Invariants ........... SKIPPED [INFO] Apache HBase Shaded Packaging Invariants (with Hadoop bundled) SKIPPED [INFO] Apache HBase - Archetypes .......................... SKIPPED [INFO] Apache HBase - Exemplar for hbase-client archetype . SKIPPED [INFO] Apache HBase - Exemplar for hbase-shaded-client archetype SKIPPED [INFO] Apache HBase - Archetype builder ................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 14:07 min [INFO] Finished at: 2018-12-28T22:27:52+08:00 [INFO] Final Memory: 221M/863M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M2:enforce (check-aggr egate-license) on project hbase-shaded: Some Enforcer rules have failed. Look above for specific messages explaining why the rule failed. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [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 read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :hbase-shaded {code} > hbase-commom build failed on Windows7 using Cygwin > --------------------------------------------------- > > Key: HBASE-21656 > URL: https://issues.apache.org/jira/browse/HBASE-21656 > Project: HBase > Issue Type: Bug > Reporter: xuqinya > Assignee: xuqinya > Priority: Major > Attachments: HBASE-21656.master.0001.patch > > > The command whoami and hostname returns the content followed by a > character(\r), > otherwise the generated file Version.java failed to compile. > {code:java} > @InterfaceAudience.Private > public class Version { > public static final String version = "3.0.0-SNAPSHOT"; > public static final String revision = > "f32d2618430f70e1b0db92785294b2c7892cc02b"; > public static final String user = "xuqinya-PC\\xuqinya > "; > public static final String date = "Fri Dec 28 12:39:49 2018"; > public static final String url = "git://xuqinya-PC > /cygdrive/e/gitwork/hbase"; > public static final String srcChecksum = "88f3dc17f75ffda6176faa649593b54e"; > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)