embulk-output-parquet 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 66f4589bf4371ed6fba6f3f52271587eb76cc457
4
- data.tar.gz: 6d5bd8a010ec341b9a5d0b37a3e0c5a7e15770ae
3
+ metadata.gz: c834b87845a6520887275fe90bf447820eee265b
4
+ data.tar.gz: 6515640ef55fd9d02eeda515d8cbe765431a1dab
5
5
  SHA512:
6
- metadata.gz: abc657f97ba0791f170c40f4c7d7f0248fa4147b1c90803f4b1cdc37f43b60905eeed60523b178e3a0cce9d7cad9f082d2a98af0de090bc7a6b308c95f3de972
7
- data.tar.gz: b279faf534596db8366b89a92440242218718369e04a67960e34bbd8b5b18b47d40bfb31f3aa04812bc607b5be5146ee76934bec43f1f176f15f563d0ca290e9
6
+ metadata.gz: 3af4575ecf73aa13157e988db3219e3a79774ba4119966107847091e0ecddd6e611d97413a088c1151f5749decd8fcf757bff4951527099926a234e46efd205d
7
+ data.tar.gz: 66348d724ad2bb2835a23c7850a831a09f176baa89fb8cfd02fa0fb7a601874664f749d4e848cd89700f0baa2940ef4ac5f2600d0c47a705d24f21f066715955
data/build.gradle CHANGED
@@ -15,11 +15,11 @@ configurations {
15
15
  provided
16
16
  }
17
17
 
18
- version = "0.1.0"
18
+ version = "0.2.0"
19
19
 
20
20
  dependencies {
21
- compile "org.embulk:embulk-core:0.4.2"
22
- provided "org.embulk:embulk-core:0.4.2"
21
+ compile "org.embulk:embulk-core:0.7.4"
22
+ provided "org.embulk:embulk-core:0.7.4"
23
23
 
24
24
  compile "com.twitter:parquet-hadoop:1.5.0"
25
25
  compile "org.apache.hadoop:hadoop-client:2.6.0"
@@ -41,6 +41,11 @@ task gem(type: JRubyExec, dependsOn: ["build", "gemspec", "classpath"]) {
41
41
  doLast { ant.move(file: "${project.name}-${project.version}.gem", todir: "pkg") }
42
42
  }
43
43
 
44
+ task gemPush(type: JRubyExec, dependsOn: ["gem"]) {
45
+ jrubyArgs "-rrubygems/gem_runner", "-eGem::GemRunner.new.run(ARGV)", "push"
46
+ script "pkg/${project.name}-${project.version}.gem"
47
+ }
48
+
44
49
  task gemspec << { file("build/gemspec").write($/
45
50
  Gem::Specification.new do |spec|
46
51
  spec.name = "${project.name}"
@@ -1,6 +1,6 @@
1
- #Mon Feb 16 18:53:39 JST 2015
1
+ #Tue Aug 11 00:26:20 PDT 2015
2
2
  distributionBase=GRADLE_USER_HOME
3
3
  distributionPath=wrapper/dists
4
4
  zipStoreBase=GRADLE_USER_HOME
5
5
  zipStorePath=wrapper/dists
6
- distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
6
+ distributionUrl=https\://services.gradle.org/distributions/gradle-2.6-bin.zip
data/gradlew.bat CHANGED
@@ -1,90 +1,90 @@
1
- @if "%DEBUG%" == "" @echo off
2
- @rem ##########################################################################
3
- @rem
4
- @rem Gradle startup script for Windows
5
- @rem
6
- @rem ##########################################################################
7
-
8
- @rem Set local scope for the variables with windows NT shell
9
- if "%OS%"=="Windows_NT" setlocal
10
-
11
- @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12
- set DEFAULT_JVM_OPTS=
13
-
14
- set DIRNAME=%~dp0
15
- if "%DIRNAME%" == "" set DIRNAME=.
16
- set APP_BASE_NAME=%~n0
17
- set APP_HOME=%DIRNAME%
18
-
19
- @rem Find java.exe
20
- if defined JAVA_HOME goto findJavaFromJavaHome
21
-
22
- set JAVA_EXE=java.exe
23
- %JAVA_EXE% -version >NUL 2>&1
24
- if "%ERRORLEVEL%" == "0" goto init
25
-
26
- echo.
27
- echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28
- echo.
29
- echo Please set the JAVA_HOME variable in your environment to match the
30
- echo location of your Java installation.
31
-
32
- goto fail
33
-
34
- :findJavaFromJavaHome
35
- set JAVA_HOME=%JAVA_HOME:"=%
36
- set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37
-
38
- if exist "%JAVA_EXE%" goto init
39
-
40
- echo.
41
- echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42
- echo.
43
- echo Please set the JAVA_HOME variable in your environment to match the
44
- echo location of your Java installation.
45
-
46
- goto fail
47
-
48
- :init
49
- @rem Get command-line arguments, handling Windowz variants
50
-
51
- if not "%OS%" == "Windows_NT" goto win9xME_args
52
- if "%@eval[2+2]" == "4" goto 4NT_args
53
-
54
- :win9xME_args
55
- @rem Slurp the command line arguments.
56
- set CMD_LINE_ARGS=
57
- set _SKIP=2
58
-
59
- :win9xME_args_slurp
60
- if "x%~1" == "x" goto execute
61
-
62
- set CMD_LINE_ARGS=%*
63
- goto execute
64
-
65
- :4NT_args
66
- @rem Get arguments from the 4NT Shell from JP Software
67
- set CMD_LINE_ARGS=%$
68
-
69
- :execute
70
- @rem Setup the command line
71
-
72
- set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73
-
74
- @rem Execute Gradle
75
- "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76
-
77
- :end
78
- @rem End local scope for the variables with windows NT shell
79
- if "%ERRORLEVEL%"=="0" goto mainEnd
80
-
81
- :fail
82
- rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83
- rem the _cmd.exe /c_ return code!
84
- if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85
- exit /b 1
86
-
87
- :mainEnd
88
- if "%OS%"=="Windows_NT" endlocal
89
-
90
- :omega
1
+ @if "%DEBUG%" == "" @echo off
2
+ @rem ##########################################################################
3
+ @rem
4
+ @rem Gradle startup script for Windows
5
+ @rem
6
+ @rem ##########################################################################
7
+
8
+ @rem Set local scope for the variables with windows NT shell
9
+ if "%OS%"=="Windows_NT" setlocal
10
+
11
+ @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
12
+ set DEFAULT_JVM_OPTS=
13
+
14
+ set DIRNAME=%~dp0
15
+ if "%DIRNAME%" == "" set DIRNAME=.
16
+ set APP_BASE_NAME=%~n0
17
+ set APP_HOME=%DIRNAME%
18
+
19
+ @rem Find java.exe
20
+ if defined JAVA_HOME goto findJavaFromJavaHome
21
+
22
+ set JAVA_EXE=java.exe
23
+ %JAVA_EXE% -version >NUL 2>&1
24
+ if "%ERRORLEVEL%" == "0" goto init
25
+
26
+ echo.
27
+ echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
28
+ echo.
29
+ echo Please set the JAVA_HOME variable in your environment to match the
30
+ echo location of your Java installation.
31
+
32
+ goto fail
33
+
34
+ :findJavaFromJavaHome
35
+ set JAVA_HOME=%JAVA_HOME:"=%
36
+ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
37
+
38
+ if exist "%JAVA_EXE%" goto init
39
+
40
+ echo.
41
+ echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
42
+ echo.
43
+ echo Please set the JAVA_HOME variable in your environment to match the
44
+ echo location of your Java installation.
45
+
46
+ goto fail
47
+
48
+ :init
49
+ @rem Get command-line arguments, handling Windowz variants
50
+
51
+ if not "%OS%" == "Windows_NT" goto win9xME_args
52
+ if "%@eval[2+2]" == "4" goto 4NT_args
53
+
54
+ :win9xME_args
55
+ @rem Slurp the command line arguments.
56
+ set CMD_LINE_ARGS=
57
+ set _SKIP=2
58
+
59
+ :win9xME_args_slurp
60
+ if "x%~1" == "x" goto execute
61
+
62
+ set CMD_LINE_ARGS=%*
63
+ goto execute
64
+
65
+ :4NT_args
66
+ @rem Get arguments from the 4NT Shell from JP Software
67
+ set CMD_LINE_ARGS=%$
68
+
69
+ :execute
70
+ @rem Setup the command line
71
+
72
+ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
73
+
74
+ @rem Execute Gradle
75
+ "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
76
+
77
+ :end
78
+ @rem End local scope for the variables with windows NT shell
79
+ if "%ERRORLEVEL%"=="0" goto mainEnd
80
+
81
+ :fail
82
+ rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
83
+ rem the _cmd.exe /c_ return code!
84
+ if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
85
+ exit /b 1
86
+
87
+ :mainEnd
88
+ if "%OS%"=="Windows_NT" endlocal
89
+
90
+ :omega
@@ -11,7 +11,7 @@ import org.apache.hadoop.conf.Configuration;
11
11
  import org.apache.hadoop.fs.LocalFileSystem;
12
12
  import org.apache.hadoop.fs.Path;
13
13
  import org.apache.hadoop.hdfs.DistributedFileSystem;
14
- import org.embulk.config.CommitReport;
14
+ import org.embulk.config.TaskReport;
15
15
  import org.embulk.config.Config;
16
16
  import org.embulk.config.ConfigDefault;
17
17
  import org.embulk.config.ConfigDiff;
@@ -83,7 +83,7 @@ public class ParquetOutputPlugin
83
83
 
84
84
  public void cleanup(TaskSource taskSource,
85
85
  Schema schema, int processorCount,
86
- List<CommitReport> successCommitReports)
86
+ List<TaskReport> successTaskReports)
87
87
  {
88
88
  //TODO
89
89
  }
@@ -191,8 +191,8 @@ public class ParquetOutputPlugin
191
191
  }
192
192
 
193
193
  @Override
194
- public CommitReport commit() {
195
- return Exec.newCommitReport();
194
+ public TaskReport commit() {
195
+ return Exec.newTaskReport();
196
196
  //TODO
197
197
  }
198
198
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: embulk-output-parquet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OKUNO Akihiro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-17 00:00:00.000000000 Z
11
+ date: 2015-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -62,6 +62,7 @@ files:
62
62
  - classpath/apacheds-kerberos-codec-2.0.0-M15.jar
63
63
  - classpath/api-asn1-api-1.0.0-M20.jar
64
64
  - classpath/api-util-1.0.0-M20.jar
65
+ - classpath/asm-3.1.jar
65
66
  - classpath/avro-1.7.4.jar
66
67
  - classpath/commons-beanutils-1.7.0.jar
67
68
  - classpath/commons-cli-1.2.jar
@@ -79,7 +80,7 @@ files:
79
80
  - classpath/curator-client-2.6.0.jar
80
81
  - classpath/curator-framework-2.6.0.jar
81
82
  - classpath/curator-recipes-2.6.0.jar
82
- - classpath/embulk-output-parquet-0.1.0.jar
83
+ - classpath/embulk-output-parquet-0.2.0.jar
83
84
  - classpath/gson-2.2.4.jar
84
85
  - classpath/hadoop-annotations-2.6.0.jar
85
86
  - classpath/hadoop-auth-2.6.0.jar
@@ -115,6 +116,7 @@ files:
115
116
  - classpath/jline-0.9.94.jar
116
117
  - classpath/jsr305-1.3.9.jar
117
118
  - classpath/leveldbjni-all-1.8.jar
119
+ - classpath/log4j-1.2.17.jar
118
120
  - classpath/netty-3.7.0.Final.jar
119
121
  - classpath/paranamer-2.3.jar
120
122
  - classpath/parquet-column-1.5.0.jar
@@ -126,6 +128,7 @@ files:
126
128
  - classpath/parquet-jackson-1.5.0.jar
127
129
  - classpath/protobuf-java-2.5.0.jar
128
130
  - classpath/servlet-api-2.5.jar
131
+ - classpath/slf4j-log4j12-1.7.5.jar
129
132
  - classpath/snappy-java-1.1.1.6.jar
130
133
  - classpath/stax-api-1.0-2.jar
131
134
  - classpath/xercesImpl-2.9.1.jar