Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View VincentRoma's full-sized avatar
🏠
Working from home

Vincent Roma VincentRoma

🏠
Working from home
View GitHub Profile
w, h = 3, 3
def create_empty_board ():
# fill in code here to create the board of size 3 x 3
new_board = [[" " for x in range(w)] for y in range(h)]
return new_board
def draw_board (board):
size = len(board)

Keybase proof

I hereby claim:

  • I am vincentroma on github.
  • I am vincentroma (https://keybase.io/vincentroma) on keybase.
  • I have a public key ASDWWusohiZ71rEYvyZc73jPSxZvNAHAsaesM2ORRQoiXAo

To claim this, I am signing this object:

package com.cloudera.tsexamples
import com.cloudera.sparkts.models.ARIMA
import org.apache.spark.mllib.linalg.Vectors
/**
* An example showcasing the use of ARIMA in a non-distributed context.
*/
object SingleSeriesARIMA {
def main(args: Array[String]): Unit = {
package com.cloudera.tsexamples
import com.cloudera.sparkts.models.ARIMA
import org.apache.spark.mllib.linalg.Vectors
/**
* An example showcasing the use of ARIMA in a non-distributed context.
*/
object SingleSeriesARIMA {
def main(args: Array[String]): Unit = {

HBase

HBase and Accumulo are both implementations of BigTable using HDFS as their storage mechanism. They are virtually identical in most regards from both an operational and architectual standpoint; they have different APIs, and use different nomenclature, but conceptually they do the same thing and performance is close enough that there's no significant advantage to using one over the other.

HBase has a much larger user base,  better support, better integration with the rest of the Hadoop ecosystem, and a better set of peripheral tools.

Accumulo's point of differentiation is security.   It offers fine-grained access controls, down to the field level, that HBase lacks, plus many other security-related enhancements.   That's really it's only advantage, but if you are dealing with sensitive data, not having that level of security can be a showstopper.