WIP: write implementation of Neubot parser#500
Open
bassosimone wants to merge 2 commits intom-lab:mainfrom
bassosimone:feature/neubot
Open
WIP: write implementation of Neubot parser#500bassosimone wants to merge 2 commits intom-lab:mainfrom bassosimone:feature/neubot
bassosimone wants to merge 2 commits intom-lab:mainfrom
bassosimone:feature/neubot
Conversation
1. start sketching out a Neubot parser 2. try to figure out how to pass a file to a "thing" that should process such file 3. decide that _proably_ etl_worker.go is what I want 4. `cd cmd/etl_worker && go get -v .` 5. `$GOPATH/bin/etl_worker` 6. `curl curl http://127.0.0.1:8080/worker?filename=gs://archive-mlab-oti/neubot/2017/06/27/20170627T000000Z-mlab1-arn01-neubot-0000.tgz` 7. obtain as error message: ``` 2018/05/01 15:51:36 etl_worker.go:193: Error getting storage client: google: could not find default credentials. See https://developers.google.com/accounts/docs/application-default-credentials for more information. ```
Copying from my notes: ``` brew cask install caskroom/cask/google-cloud-sdk gcloud auth login gcloud auth application-default login ``` After these steps I could fetch a file. Also: ``` 2018/05/01 22:14:49 insert.go:113: Using project: ``` Implications of project being empty?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
start sketching out a Neubot parser
try to figure out how to pass a file to a "thing" that should
process such file
decide that proably etl_worker.go is what I want
cd cmd/etl_worker && go get -v .$GOPATH/bin/etl_workercurl curl http://127.0.0.1:8080/worker?filename=gs://archive-mlab-oti/neubot/2017/06/27/20170627T000000Z-mlab1-arn01-neubot-0000.tgzobtain as error message:
This change is