As a reminder, here are the components in play to run an application:
- The cluster:
- Spark Master: coordinates the resources
- Spark Workers: offer resources to run the applications
- The application:
| pragma solidity 0.4.25; | |
| contract SimpleStorage { | |
| uint numChicken; | |
| function set(uint x) public { | |
| numChicken = x; | |
| } | |
| function get() public constant returns (uint) { |
| pragma solidity 0.4.25; | |
| contract SimpleStorage { | |
| uint numChicken; | |
| function set(uint x) public { | |
| numChicken = x; | |
| } | |
| function get() public constant returns (uint) { |
| pragma solidity 0.4.25; | |
| contract SimpleStorage { | |
| uint numChicken; | |
| function set(uint x) public { | |
| numChicken = x; | |
| } | |
| function get() public constant returns (uint) { |