whale (n.)
Old English hwæl "whale," also "walrus," from Proto-Germanic *hwalaz (cognates: Old Saxon hwal, Old Norse hvalr, hvalfiskr, Swedish val, Middle Dutch wal, walvisc, Dutch walvis, Old High German wal, German Wal), from PIE *(s)kwal-o- (cognates: Latin squalus "a kind of large sea fish"). Phrase whale of a "excellent or large example" is c.1900, student slang. Whale-oil attested from mid-15c.
whale (v.2)
"beat, whip severely," 1790, possibly a variant of wale (v.) "to mark with 'wales' or stripes" (early 15c.), from wale (n.). Related: Whaled; whaling.
whale (v.1)
"pursue the business of whale-fishing," 1700, from whale (n.). Whale-fishing is attested from 1570s.