Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: repository name & rm unnecessary files #2

Merged
merged 5 commits into from
Mar 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .envrc

This file was deleted.

28 changes: 14 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
### [1.0.3](https://github.com/locona/livy/compare/v1.0.2...v1.0.3) (2020-03-03)
### [1.0.3](https://github.com/3-shake/livy-go/compare/v1.0.2...v1.0.3) (2020-03-03)


### Bug Fixes

* Add name field to session struct & Fix NumExecutors of Insert… ([#1](https://github.com/locona/livy/issues/1)) ([347f72a](https://github.com/locona/livy/commit/347f72aa49db3915a4cd44cb95780e29e15a357b))
* Add name field to session struct & Fix NumExecutors of Insert… ([#1](https://github.com/3-shake/livy-go/issues/1)) ([347f72a](https://github.com/3-shake/livy-go/commit/347f72aa49db3915a4cd44cb95780e29e15a357b))

### [1.0.2](https://github.com/locona/livy/compare/v1.0.1...v1.0.2) (2020-02-18)
### [1.0.2](https://github.com/3-shake/livy-go/compare/v1.0.1...v1.0.2) (2020-02-18)


### Improvement

* Add example to call custom jar class. ([6d1b537](https://github.com/locona/livy/commit/6d1b537c13e096f4d43c8e429c9c60fc8356c488))
* Add example to call custom jar class. ([6d1b537](https://github.com/3-shake/livy-go/commit/6d1b537c13e096f4d43c8e429c9c60fc8356c488))

### [1.0.1](https://github.com/locona/livy/compare/v1.0.0...v1.0.1) (2020-02-17)
### [1.0.1](https://github.com/3-shake/livy-go/compare/v1.0.0...v1.0.1) (2020-02-17)


### Bug Fixes

* Add example case. ([61c764a](https://github.com/locona/livy/commit/61c764a5467fa8d8e04a03d82b9d3bf81db80397))
* Add example case. ([61c764a](https://github.com/3-shake/livy-go/commit/61c764a5467fa8d8e04a03d82b9d3bf81db80397))

## 1.0.0 (2020-02-07)


### Bug Fixes

* **ci:** release only master branch. ([d03a626](https://github.com/locona/livy/commit/d03a626b6b73022003bd5680cdda0f27fd7eba90))
* Bugfix of session and statement requests. ([b36e4ac](https://github.com/locona/livy/commit/b36e4acd2a59192bf7fe4a36bfd8f3af072fd014))
* remove python code. ([1525349](https://github.com/locona/livy/commit/152534905009eb3b3d1837f15b1981556d2f9edb))
* typo ([8df5385](https://github.com/locona/livy/commit/8df5385c0f97ec086ca031779cdd71c80de600d8))
* **ci:** release only master branch. ([d03a626](https://github.com/3-shake/livy-go/commit/d03a626b6b73022003bd5680cdda0f27fd7eba90))
* Bugfix of session and statement requests. ([b36e4ac](https://github.com/3-shake/livy-go/commit/b36e4acd2a59192bf7fe4a36bfd8f3af072fd014))
* remove python code. ([1525349](https://github.com/3-shake/livy-go/commit/152534905009eb3b3d1837f15b1981556d2f9edb))
* typo ([8df5385](https://github.com/3-shake/livy-go/commit/8df5385c0f97ec086ca031779cdd71c80de600d8))


### New Features

* Implement client of https://livy.incubator.apache.org/docs/latest/rest-api.html. ([fb6d5ba](https://github.com/locona/livy/commit/fb6d5ba401ec81de6b25a1fce7997801a01184dc))
* **livy:** connect livy. ([087d9c8](https://github.com/locona/livy/commit/087d9c8f01ad71c3fac9672b95fe0d2ffdd17af4))
* Implement client of https://livy.incubator.apache.org/docs/latest/rest-api.html. ([fb6d5ba](https://github.com/3-shake/livy-go/commit/fb6d5ba401ec81de6b25a1fce7997801a01184dc))
* **livy:** connect livy. ([087d9c8](https://github.com/3-shake/livy-go/commit/087d9c8f01ad71c3fac9672b95fe0d2ffdd17af4))


### Improvement

* **ci:** Replace to semantic-release. ([1f34600](https://github.com/locona/livy/commit/1f34600a604c158e40487b912c052233f4f4d975))
* Add examples. ([0e604f6](https://github.com/locona/livy/commit/0e604f60325a3ea2b90d28473c1faa268d6b7fd8))
* **ci:** Replace to semantic-release. ([1f34600](https://github.com/3-shake/livy-go/commit/1f34600a604c158e40487b912c052233f4f4d975))
* Add examples. ([0e604f6](https://github.com/3-shake/livy-go/commit/0e604f60325a3ea2b90d28473c1faa268d6b7fd8))
4 changes: 0 additions & 4 deletions Makefile

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# livy
# livy-go
2 changes: 1 addition & 1 deletion batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"io"
"net/http"

"github.com/locona/livy/gensupport"
"github.com/3-shake/livy-go/gensupport"
)

type BatchesService struct {
Expand Down
2 changes: 1 addition & 1 deletion examples/spark.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/k0kubun/pp"
"github.com/lithammer/dedent"
"github.com/locona/livy"
"github.com/3-shake/livy-go"
)

func SessionsList() {
Expand Down
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/locona/livy
module github.com/3-shake/livy-go

go 1.12

Expand All @@ -7,6 +7,5 @@ require (
github.com/k0kubun/pp v3.0.1+incompatible
github.com/lithammer/dedent v1.1.0
github.com/mattn/go-colorable v0.1.4 // indirect
github.com/mitchellh/go-homedir v1.1.0
golang.org/x/sys v0.0.0-20190412213103-97732733099d // indirect
)
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ github.com/mattn/go-colorable v0.1.4 h1:snbPLB8fVfU9iwbbo30TPtbLRzwWu6aJS6Xh4eaa
github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
github.com/mattn/go-isatty v0.0.8 h1:HLtExJ+uU2HOZ+wI0Tt5DtUDrx8yhUqDcp7fYERX4CE=
github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d h1:+R4KGOnez64A81RvjARKc4UT5/tI9ujCIVX+P5KiHuI=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
6 changes: 3 additions & 3 deletions jars/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import scala.sys.process._
import scala.reflect.runtime.universe._

// general config
ThisBuild / organization := "com.locona"
ThisBuild / organization := "com.example"
ThisBuild / version := "1.0.0-SNAPSHOT"
ThisBuild / scalaVersion := "2.11.12"
ThisBuild / parallelExecution := false
Expand Down Expand Up @@ -35,7 +35,7 @@ lazy val commonSettings = Seq(
lazy val root = (project in file(".")).
settings(commonSettings: _*).
settings(
mainClass in assembly := Some("com.locona.livy.WordCount")
mainClass in assembly := Some("com.example.livy.WordCount")
)


Expand All @@ -45,7 +45,7 @@ lazy val fj = taskKey[Unit]("")
fj := {
val log = sLog.value

val main = "com.locona.livy.WordCount"
val main = "com.example.livy.WordCount"
val fatJar = "./target/scala-2.11/root-assembly-1.0.0-SNAPSHOT.jar"
val args = Seq()

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.locona.livy
package com.example.livy

import org.apache.spark.sql.{Dataset, Row, SparkSession}
import org.apache.spark.sql.types._
Expand Down
2 changes: 1 addition & 1 deletion jars/src/test/scala/com/locona/livy/WordCountSpec.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.locona.livy
package com.example.livy

import com.holdenkarau.spark.testing._
import org.apache.spark.sql.{Dataset, Row, SparkSession}
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
},
"repository": {
"type": "git",
"url": "https://github.com/locona/livy.git"
"url": "https://github.com/3-shake/livy-go.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/locona/livy/issues"
"url": "https://github.com/3-shake/livy-go/issues"
},
"homepage": "https://github.com/locona/livy#readme",
"homepage": "https://github.com/3-shake/livy-go",
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
Expand Down
2 changes: 1 addition & 1 deletion session.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"io"
"net/http"

"github.com/locona/livy/gensupport"
"github.com/3-shake/livy-go/gensupport"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion statement.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"io"
"net/http"

"github.com/locona/livy/gensupport"
"github.com/3-shake/livy-go/gensupport"
)

const (
Expand Down