This repository has been archived by the owner. It is now read-only.
☠️ Skeleton for Hadoop course of Mail.Ru Group on stepik.org.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example/show
.gitignore
LICENSE
README.md
init
solve

README.md

org.stepik.mailru.hadoop Tweet

Analytics Skeleton for Hadoop course of Mail.Ru Group on stepik.org.

Patreon License

Requirements

Python 3

virtualenv

Installation

$ git clone git@github.com:kamilsk/org.stepik.mailru.hadoop.git
$ cd org.stepik.mailru.hadoop
$ git remote rename origin upstream
$ virtualenv -p `which python3` virtenv
$ source virtenv/bin/activate

Update

$ git fetch upstream --all
$ git rebase upstream/master

Example of work

Silent

$ ./solve example show
- success

Verbose (print stdout)

$ ./solve example show --verbose
Hello, World!
- success

Task test

$ ./solve example show:testN
- success

Example of failure

$ ./solve example show:fail
- failure
The test that failed                                          | The test that checked

Usage

Create task

$ ./init 5.3 1

It will be create the next structure:

./
- 5.3
  - 1
    - in.txt      # place for stdin
    - out.txt     # place for stdout to check task work
    - solution.py # your code will be here

Do some work

  • fill stdin to in.txt
  • fill stdout to out.txt
  • write code in solution.py (you can rename task() function to what you want, it is just usual python script)

Run it

If your task solution is ok you will see something like this

$ ./solve 5.3 1
- success

Otherwise you will see sdiff between your script stdout and out.txt.

Feedback

@kamilsk @octolab

Notes