[ 
https://issues.apache.org/jira/browse/FLUME-2935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15349096#comment-15349096
 ] 

Lior Zeno commented on FLUME-2935:
----------------------------------

I'll be much more verbose regarding the changes I've made in this patch.
All the changes I've made are related to the build process and to the 
documentation.

# Renamed README to README.textile in order to allow github to properly render 
the headings, i.e. instead of rendering h1 it will actually render a heading. 
In addition, I changed the requirement to JDK 1.7 instead of JDK 1.6.
# FlumeUserGuide.rst: I changed the system requirements to Java 1.7 instead of 
1.6 with a recommendation on 1.7. I did not add a recommendation for 1.8, since 
I do not see a reason for that. More over, I removed the note on the 
TailDirSource saying it requires 1.7, since it is the minimum required for the 
project.
# flume-ng-sinks/flume-ng-elasticsearch-sink/pom.xml: This pom file had two 
identical dependencies, therefore I removed one of them (httpclient). This was 
generating a warning in the beginning of the build.
# KafkaLocal.java: The tests threw a MethodNotFoundException, since there isn't 
a constructor for KafkaConfig with a java.util.properties parameter. Instead, I 
used the static method KafkaConfig.fromProps.
# Main pom.xml: I changed the sourceJavaVersion and targetJavaVersion to 1.7. 
In addition, I removed the test dependency hadoop-minicluster since it is 
already required as a "normal" dependency. Maven was complaining about that as 
well.

Let me know if you want to split these changes into multiple small issues, or 
we can deal with them in this issue since it's about making Flume build 
properly under 1.7.



> Bump java target version to 1.7
> -------------------------------
>
>                 Key: FLUME-2935
>                 URL: https://issues.apache.org/jira/browse/FLUME-2935
>             Project: Flume
>          Issue Type: Task
>    Affects Versions: v1.7.0
>            Reporter: Lior Zeno
>            Assignee: Lior Zeno
>             Fix For: v1.7.0
>
>         Attachments: FLUME-2395-0.patch
>
>




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

Reply via email to