예제 #1
0
    def setUpClass(cls):
        global SEED
        SEED = h2o.setup_random_seed()
        h2o.init(2)

        global SYNDATASETS_DIR
        SYNDATASETS_DIR = h2o.make_syn_dir()
예제 #2
0
 def setUpClass(cls):
     # Uses your username specific json: pytest_config-<username>.json
     h2o.init (1, 
         # use_hdfs=True, 
         # aws_credentials=os.path.expanduser('~/.ec2/AwsCredentials.properties'),
         # hdfs_config=os.path.expanduser("~/.ec2/core-site.xml"),
         java_heap_GB=12, 
         java_extra_args='-XX:+PrintGCDetails')
 def setUpClass(cls):
     h2o.init(1,
         enable_benchmark_log=True,
         use_maprfs=True,
         hdfs_version='mapr3.1.1',
         hdfs_name_node='mr-0x2:7222')
     # mayb these aren't set correctly with -uc and above,. Let's just set them here
     # the import below will use them to form the uri
     h2o.nodes[0].use_maprfs = True
     h2o.nodes[0].use_hdfs = False
     h2o.nodes[0].hdfs_version = 'mapr3.1.1',
     h2o.nodes[0].hdfs_name_node = 'mr-0x2:7222'
예제 #4
0
 def setUpClass(cls):
     global SEED, localhost
     SEED = h2o.setup_random_seed()
     # localhost = h2o.decide_if_localhost()
     # always require a config file for now..don't have h2o.decide_if_localhost() here
     localhost = False
     if (localhost):
         # h2o.nodes[0].delete_keys_at_teardown should cause the testdir_release
         # tests to delete keys after each test completion (not cloud teardown, don't care then)
         # h2o.init(3, create_json=True, java_heap_GB=4, delete_keys_at_teardown=True)
         # RemoveAll.json doesn't work?
         h2o.init(3, create_json=True, java_heap_GB=4)
     else:
         # RemoveAll.json doesn't work?
         # h2o.init(create_json=True, delete_keys_at_teardown=True)
         h2o.init(create_json=True)
예제 #5
0
 def setUpClass(cls):
     h2o.init(1, java_heap_GB=12)
예제 #6
0
 def setUpClass(cls):
     h2o.init(1, java_heap_GB=4)
예제 #7
0
 def setUpClass(cls):
     global SEED
     SEED = h2o.setup_random_seed()
     h2o.init(1,java_heap_GB=1,use_flatfile=True)
 def setUpClass(cls):
     h2o.init()
     global SYNDATASETS_DIR
     SYNDATASETS_DIR = h2o.make_syn_dir()
예제 #9
0
 def setUpClass(cls):
     h2o.init()
예제 #10
0
 def setUpClass(cls):
     h2o.init(delete_keys_at_teardown=True)
예제 #11
0
 def setUpClass(cls):
     h2o.init(delete_keys_at_teardown=True)
예제 #12
0
    def setUpClass(cls):
        global SEED
        SEED = h2o.setup_random_seed()

        h2o.init(1, java_heap_GB=12)
예제 #13
0
 def setUpClass(cls):
     global SEED
     print "hardwiring seed for now"
     SEED = h2o.setup_random_seed(seed=6418304027311682180)
     h2o.init(1)
예제 #14
0
 def setUpClass(cls):
     global SEED
     SEED = h2o.setup_random_seed()
     h2o.init()
예제 #15
0
 def setUpClass(cls):
     global SEED
     print "hardwiring seed for now"
     SEED = h2o.setup_random_seed(seed=6418304027311682180)
     h2o.init(1)
예제 #16
0
 def setUpClass(cls):
     h2o.init(1, use_hdfs=True, hdfs_version='cdh4', hdfs_name_node='172.16.2.176', java_heap_GB=14)
 def setUpClass(cls):
     global SEED
     SEED = h2o.setup_random_seed()
     h2o.init(1)
     global SYNDATASETS_DIR
     SYNDATASETS_DIR = h2o.make_syn_dir()
예제 #18
0
 def setUpClass(cls):
     # h2o.init(1, use_hdfs=True, hdfs_version='cdh5', hdfs_name_node='172.16.2.180', java_heap_GB=14)
     h2o.init(1, java_heap_GB=24)
예제 #19
0
 def setUpClass(cls):
     global SEED
     SEED = h2o.setup_random_seed()
     h2o.init(1, java_heap_GB=14, sandbox_ignore_errors=True)
예제 #20
0
 def setUpClass(cls):
     h2o.init()
     global SYNDATASETS_DIR
     SYNDATASETS_DIR = h2o.make_syn_dir()
예제 #21
0
 def setUpClass(cls):
     h2o.init(java_heap_GB=24)
예제 #22
0
 def setUpClass(cls):
     # h2o.init(1, use_hdfs=True, hdfs_version='cdh5', hdfs_name_node='172.16.2.180', java_heap_GB=14)
     h2o.init(1, java_heap_GB=24)
예제 #23
0
 def setUpClass(cls):
     global SEED
     # use the failing seed for now
     SEED = h2o.setup_random_seed(seed=6119134012054500977)
     h2o.init()
예제 #24
0
 def setUpClass(cls):
     h2o.init()
예제 #25
0
 def setUpClass(cls):
     global SEED
     SEED = h2o.setup_random_seed()
     h2o.init(3, java_heap_GB=8, base_port=54321)
예제 #26
0
 def setUpClass(cls):
     # assume we're at 0xdata with it's hdfs namenode
     h2o.init(java_heap_GB=14)
예제 #27
0
 def setUpClass(cls):
     h2o.init(3, java_heap_GB=4)
예제 #28
0
 def setUpClass(cls):
     h2o.init(8, java_heap_MB=256)
예제 #29
0
 def setUpClass(cls):
     global SEED
     SEED = h2o.setup_random_seed()
     h2o.init(1, base_port=54333)
예제 #30
0
 def setUpClass(cls):
     global SEED
     print "Temporarily forcing seed to known case that causes assert"
     SEED = h2o.setup_random_seed(seed=1364157389021990032)
     h2o.init(2,java_heap_GB=1,use_flatfile=True)
 def setUpClass(cls):
     global SEED
     SEED = h2o.setup_random_seed()
     h2o.init(3,java_heap_GB=3)
예제 #32
0
 def setUpClass(cls):
     # assume we're at 0xdata with it's hdfs namenode
     h2o.init(1, use_hdfs=True, hdfs_version='cdh5', hdfs_name_node='172.16.2.180', java_heap_GB=12)
예제 #33
0
 def setUpClass(cls):
     global SEED
     SEED = h2o.setup_random_seed()
     h2o.init()
예제 #34
0
 def setUpClass(cls):
     global SEED
     SEED = h2o.setup_random_seed()
     h2o.init(1, base_port=54333)