Posts

How to pretty print a 100 MB JSON file?

From the command line, run cat large_json_file.json| python -mjson.tool > pretty.json

How to compute Row Size in Complex Spark DataFrame?

Definitely there may be a better way of doing this. I was running into an error where data load from lake to CosmosDB is failing due to a record size exceeding 2MB limit. Hence, converting it to JSON grouped by primary key and computing the size seemed appropriate and easy. Comment below if this can be done better. 

Error: Upgrading Sharepoint 2013

Image
Error :  I faced the following error while installing Sharepoint 2016. Microsoft.SharePoint.Upgrade.SPUpgradeException: One or more types failed to load. Please refer to the upgrade log for more details Solution : For me downloading  Microsoft WCF Data Services 5.6   from internet and repairing has helped.  Reference: https://blogs.technet.microsoft.com/fromthefield/2016/04/15/spupgradeexception-error-message-when-you-run-the-sharepoint-products-and-technologies-configuration-wizard-when-you-create-a-new-sharepoint-2016-farm/

Docker 101

As I explore Docker, I will post everything I have learned over here. 

How to attach a debugger in Visual Studio Code for babel-node

How to Update Jenkins

Google Doodle Games Links

Image
Missed playing all the games on Google's 19th Birthday. Here is the treat!  Chrome Arpeggio Fischinger Hip Hop 15th Birthday Cricket Halloween 2016 Beethoven Rockmore Scoville Pony Express V-Day 2017 Earth Day Quiz Snake Tic Tac Toe Solitaire Pac-man Animals Sounds Breathing Galapagos