There are several legal and ethical issues that should be considered:
1) Commercial whaling is prohibited by the International Whaling Commission since 1986.
2) The reason for this prohibition of commercial whaling is that whaling nations decimated whale stocks all over the world.
3) CITES (Convention on International Trade of Endangered Species) also prohibits international trade of whale meat.
4) In some countries like the USA it is illegal to posses, transport, or sell marine mammal parts without a special permit (such as the exception made for certain Alaskan native groups).
5) There is no humane way to kill a mammal the size of a city bus.
Unfortunately, curiosity often gets the better of people. For example, up to 40% of the minke whale meat sold domestically in Iceland is consumed by tourists.
Iceland, Norway, and Japan all openly defy the moratorium on whaling that was established by the IWC in 1986.
Native groups in Alaska, Greenland, Russia and elsewhere are given special permission from the IWC in the form of aboriginal subsistence quotas (although this is sometimes abused for commercial use -- particularly by Greenland).
Many species of whale are endangered -- mostly as a result of past commercial whaling.
If the meat was purchased in Iceland or Norway then it is likely from protected common minke whale stocks.
If the meat is from Japan then it could be a wide variety of whale meat because Japan hunts both endangered and non-endangered species including: endangered fin whales, endangered sei whales, vulnerable sperm whales, rare bryde's whales, common minke whales (many from the vulnerable J-stock) and Antarctic minke whales -- also dolphins and rare beaked whales.
If the meat is from Alaska or Canada then it is likely endangered bowhead whale -- also possibly beluga or narwhal in Canada.
From Russia or Greenland it could be minke, bowhead, endangered gray whale or humpback whale -- also possibly beluga or narwhal.
In South Korea whales caught 'accidentally' as bycatch in fishing nets are also utilized for commercial sale -- most likely to be minke whale.