Skip to content

Commit 4c24d9b

Browse files
kimoonkimfoxish
authored andcommitted
Add kubernetes profile to travis CI yml file (apache#21)
* Add kubernetes profile to travis yml file * Fix long lines in CompressionUtils.scala
1 parent 98b5edc commit 4c24d9b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ notifications:
4444
# 5. Run maven install before running lint-java.
4545
install:
4646
- export MAVEN_SKIP_RC=1
47-
- build/mvn -T 4 -q -DskipTests -Pmesos -Pyarn -Phadoop-2.3 -Pkinesis-asl -Phive -Phive-thriftserver install
47+
- build/mvn -T 4 -q -DskipTests -Pmesos -Pyarn -Phadoop-2.3 -Pkubernetes -Pkinesis-asl -Phive -Phive-thriftserver install
4848

4949
# 6. Run lint-java.
5050
script:

resource-managers/kubernetes/core/src/main/scala/org/apache/spark/deploy/rest/kubernetes/CompressionUtils.scala

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ private[spark] object CompressionUtils extends Logging {
3838

3939
/**
4040
* Compresses all of the given paths into a gzipped-tar archive, returning the compressed data in
41-
* memory as an instance of {@link TarGzippedData}. The files are taken without consideration to their
42-
* original folder structure, and are added to the tar archive in a flat hierarchy. Directories are
43-
* not allowed, and duplicate file names are de-duplicated by appending a numeric suffix to the file name,
44-
* before the file extension. For example, if paths a/b.txt and b/b.txt were provided, then the files added
45-
* to the tar archive would be b.txt and b-1.txt.
41+
* memory as an instance of {@link TarGzippedData}. The files are taken without consideration to
42+
* their original folder structure, and are added to the tar archive in a flat hierarchy.
43+
* Directories are not allowed, and duplicate file names are de-duplicated by appending a numeric
44+
* suffix to the file name, before the file extension. For example, if paths a/b.txt and b/b.txt
45+
* were provided, then the files added to the tar archive would be b.txt and b-1.txt.
4646
* @param paths A list of file paths to be archived
4747
* @return An in-memory representation of the compressed data.
4848
*/

0 commit comments

Comments
 (0)