Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreIt was about six months ago that we started work on the 2.1 version of Spring for Apache Hadoop. We are now pleased to announce the general availability of version 2.1.0.
Beginning with the Spring for Apache Hadoop 2.1 version, we now only support Hadoop 2.0 APIs and no longer provide backwards compatibility with older Hadoop v1 distributions. If you need support for older Hadoop versions please use the 2.0.4 or 1.1.0 versions of Spring for Apache Hadoop.
The main new features for the 2.1 version are:
Configuration and Boot support:
boot-fsshell
DemoApplication
example app@SpringBootApplication
public class DemoApplication implements CommandLineRunner {
@Autowired
private FsShell shell;
@Override
public void run(String... args) {
for (FileStatus s : shell.lsr("/tmp")) {
System.out.println("> " + s.getPath());
}
}
public static void main(String[] args) {
SpringApplication.run(DemoApplication.class, args);
}
}
For the full sample, go to https://github.com/spring-projects/spring-hadoop-samples/blob/master/boot/boot-fsshell
Store:
YARN:
yarn-store-groups
example app or at the Spring XD implementation for running on YARN.We continue to update support for the latest Hadoop versions. We now provide “flavored” versions for the following distributions:
The default distribution version is now Apache Hadoop 2.6.0.
Going forward
With the Hadoop ecosystem moving at a rapid pace, we hope that more frequent releases will help us keep up. For the next version we are planning on adding the following:
Please provide feedback and feature requests via JIRA issues or GitHub issues (see project page for links).
The project page is at - http://projects.spring.io/spring-hadoop/