hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yechao Chen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-18669) build failed on windows case of whoami return result which conatins "\"
Date Thu, 24 Aug 2017 02:56:00 GMT

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

Yechao Chen resolved HBASE-18669.
---------------------------------
    Resolution: Duplicate

duplicate HBASE-18461

> build failed on windows case of whoami return result which conatins "\"
> -----------------------------------------------------------------------
>
>                 Key: HBASE-18669
>                 URL: https://issues.apache.org/jira/browse/HBASE-18669
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 1.3.1, 1.2.6, 2.0.0-alpha-2, 1.1.12
>         Environment: windows7
>            Reporter: Yechao Chen
>            Assignee: Yechao Chen
>            Priority: Minor
>         Attachments: HBASE-18669.v1.patch
>
>
> the build error message is :
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 31.132 s
> [INFO] Finished at: 2017-08-24T09:13:30+08:00
> [INFO] Final Memory: 67M/743M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile
(default-compile) on project hbase-common: Compilation failure
> [ERROR] /E:/data/IdeaProjects/GitHub/hbase/hbase-common/target/generated-sources/java/org/apache/hadoop/hbase/Version.java:[12,47]
非法转义符
> [ERROR] -> [Help 1]
> [ERROR] 
> if user contains domain
> Version.java  Generated  by saveVersion.sh 
> user is "seven-pc\seven" which contains "\"
> /*
>  * Generated by src/saveVersion.sh
>  */
> package org.apache.hadoop.hbase;
> import org.apache.hadoop.hbase.classification.InterfaceAudience;
> @InterfaceAudience.Private
> public class Version {
>   public static final String version = "3.0.0-SNAPSHOT";
>   public static final String revision = "092dc6de8483eea1b4e0d960cf22e65359379da1";
>   public static final String user = "seven-pc\seven";
>   public static final String date = "Thu Aug 24 01:13:26 GMT 2017";
>   public static final String url = "git://seven-PC/e/data/IdeaProjects/GitHub/hbase";
>   public static final String srcChecksum = "88f3dc17f75ffda6176faa649593b54e";
> }
> can repalce "\" by "/"



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message