Suppose we have a lot of data in our Cloud Storage bucket and somehow by mistake someone runs
gsutil rm gs://my_bucket/*,
we will lose all our data and won’t be able to recover it easily or may never be able to recover it.
By Design, every storage object (file) in…
If you want to work with Airflow and just starting up with your installation then Google Cloud Composer is the best solution, As it creates all the required services and manages Kubernetes Cluster via GKE and everything connects like magic.
But if you already have an On-prem Airflow or Airflow…
Few days back I was trying to work with Multiline JSONs (aka. JSON ) on Spark 2.1 and I faced a very peculiar issue while working on Single Line JSON(aka. JSONL or JSON Lines ) vs Multiline JSON files.
Consider an example, our JSON looks like below
here we can see…
at every index(i,j) we have to choices either go right or down.
Clearly a optimal subproblem solution,
first try to implement using recursion, then easily convert to Top-down Dynamic programming.
findSum(i,j) = grid[i][j] + min( findSum(i,j+1),findSum(i+1,j));
In order to understand how your application runs on a cluster, an important thing to know about Dataset/Dataframe transformations is that they fall into two types, narrow and wide, which we will discuss first, before explaining the execution model.
Dataframe is nothing but a Dataset[Row], so going forward we will…
$ vi filename
$ vi:e filename
You use git-bash a lot and want to access very application from there.(because …
npm audit is a new feature, introduced with npm@6. It shows all vulnerabilities your dependencies got (excluding peerDependencies).
You can disable the warning for single package installations with the ‘--no-audit’ flag.
If you guys have used Github and have a long running project you might see something like this,
Easy monitoring of resources specially CPU core temperature and utilization of RAM or CPU cores could be very vital for health and maintenance of a system.
Sometimes, our system gets too hot or overloaded which could damage our system.
A good indicator for monitoring temperature, fan speeds and voltage for…