> Hi all,
> 
> I am faced to a common problem of tr locale settings for java application 
> while trying to build dev environment according 
> tohttp://wiki.apache.org/hadoop/EclipseEnvironment.
> 
> Here is the error :
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile 
> (default-testCompile) on project hadoop-common: Compilation failure
> [ERROR] 
> /Users/serkan/programlar/dev/hadooptest/hadoop-trunk/hadoop-common-project/hadoop-common/target/generated-test-sources/java/org/apache/hadoop/io/serializer/avro/AvroRecord.java:[10,244]
>  unmappable character for encoding UTF-8
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
> goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile 
> (default-testCompile) on project hadoop-common: Compilation failure
> /Users/serkan/programlar/dev/hadooptest/hadoop-trunk/hadoop-common-project/hadoop-common/target/generated-test-sources/java/org/apache/hadoop/io/serializer/avro/AvroRecord.java:[10,244]
>  unmappable character for encoding UTF-8
> 
> 
> I f i check the code i discovered the reason for error :
> 
>  public static final org.apache.avro.Schema SCHEMA$ = new 
> org.apache.avro.Schema.Parser().parse("{\"type\":\"record\",\"name\":\"AvroRecord\",\"namespace\":\"org.apache.hadoop.io.serializer.avro\",\"fields\":[{\"name\":\"intField\",\"type\":\"Ýnt\"}]}");
> 
> As you can see, locale dependent capitalization of letter "i" turns in to "Ý".
> 
> 



> This code is automatically generated by avro. 

Same bug exists in some other apache projects and fixed. I am not sure about 
avro

For eg.

OPENEJB-1071, OAK-260, IBATIS-218, etc.

Should i file a bug ?

Reply via email to