100
101
---
100
100
101
---
101
| version: "2" | |
| services: | |
| namenode: | |
| build: ./namenode | |
| image: bde2020/hadoop-namenode:1.1.0-hadoop2.7.1-java8 | |
| container_name: namenode | |
| volumes: | |
| - hadoop_namenode:/hadoop/dfs/name | |
| environment: |
| #Enable daemon | |
| org.gradle.daemon=true | |
| # Try and findout the best heap size for your project build. | |
| org.gradle.jvmargs=-Xmx3096m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 | |
| # Modularise your project and enable parallel build | |
| org.gradle.parallel=true | |
| # Enable configure on demand. |
This is an unofficial manual for the couchdb Python module I wish I had had.
pip install couchdb
| package com.cloudwick.mapreduce.FileSystemAPI; | |
| import java.io.BufferedInputStream; | |
| import java.io.BufferedOutputStream; | |
| import java.io.File; | |
| import java.io.FileInputStream; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.io.OutputStream; |